About 50 results
Open links in new tab
  1. C Cheat Sheet - GeeksforGeeks

    Jul 23, 2025 · In this Cheat Sheet, we will delve into the basics of the C language, exploring its fundamental concepts that lay the groundwork for programming. We will cover topics such as …

  2. C Programs - GeeksforGeeks

    Dec 27, 2025 · To help you master C programming, we have compiled over 100 C programming examples across various categories, including basic C programs, Fibonacci series, strings, arrays, …

  3. C Basic Syntax - GeeksforGeeks

    Jul 23, 2025 · The basic syntax of the C program consists of the header, main () function, variable declaration, body, and return type of the program. The header is the first line in the C program with …

  4. C - if Statement - GeeksforGeeks

    Jul 23, 2025 · The if in C is the simplest decision-making statement. It consists of the test condition and a block of code that is executed if and only if the given condition is true. Otherwise, it is skipped from …

  5. C Exercises - Practice Questions with Solutions for C Programming

    Jul 23, 2025 · Learning C language is made easier with this exercise sheet as it helps you practice all major C concepts. Solving these C exercise questions will take you a step closer to becoming a C …

  6. C Structures - GeeksforGeeks

    Oct 25, 2025 · In C, a structure is a user-defined data type that can be used to group items of possibly different types into a single type. The struct keyword is used to define a structure.

  7. Multithreading in C - GeeksforGeeks

    Jul 23, 2025 · In C programming language, we use the POSIX Threads (pthreads) library to implement multithreading, which provides different components along with thread management functions that …

  8. Strings in C - GeeksforGeeks

    Nov 14, 2025 · Below, the common methods of reading strings in C will be discussed, including how to handle whitespace, and concepts will be clarified to better understand how string input works.

  9. rand () in C - GeeksforGeeks

    Jul 23, 2025 · The rand () function in the C programming language is used to generate pseudo-random numbers. It is used in C to generate random numbers in the range 0 to RAND_MAX.

  10. printf in C - GeeksforGeeks

    Oct 18, 2025 · Different specifiers are used for different data types, like %d for integers, %f for floats, %c for characters, and %s for strings. In addition to working as placeholders, format specifiers can also …