C · Starter
The basics: what a thing is and what it's for.
Which function is used to allocate memory dynamically in C?
What is the typical size of an int on a 32-bit system?
What does the static keyword do to a local variable in C?
What is the difference between '==' and '=' in C?
What does the sizeof operator return?
What is the purpose of a #include directive in C?
Which printf format specifier is used to print an int in decimal?
How do you declare a pointer variable named p that points to an int?
What does the unary & operator do when applied to a variable, e.g. &x?
What character marks the end of a C string literal in memory?
What is the key structural difference between a for loop and a while loop in C?
What does the break statement do when executed inside a loop?
What does the continue statement do when executed inside a loop?
What is the scope of an ordinary (non-static) local variable declared inside a function?
What does the modulo operator % return for two integers, e.g. 7 % 3?
What is a function prototype (forward declaration) used for in C?
What does the ternary operator `cond ? a : b` evaluate to?
What return type does the entry-point function `main` have in standard C?
How do you write a single-line comment in C (C99 and later)?
How do you declare an array of 10 ints named arr in C?