One declaration, operator, or function call at a time. Drill a topic, repeat one pattern, or mix everything until the syntax comes readily.
Loading C syntax patterns…
Pick up where you left off.
Choose what to memorize
Your next set of repetitions
0 correct choices0 current streak
Choose with keys 1–4
C17 · standard headers included unless asked · automatic local variables; valid objects and bounds unless stated. Width-dependent masks use 32-bit unsigned int and eight-bit bytes.
Choose once, read the rule, repeat. Enter advances after feedback. A reminder or revealed answer stays in missed review until answered without help.
These scores measure recognition in practice. Use C recall to write expressions and functions from memory.
Coverage & repetition
Every topic has its own practice set.
Select a topic below to drill it. Attempted counts are unique patterns; correct choices count repeated successes. Missed counts include answers shown or reached with a reminder.
Topic
Attempted
Correct choices
To revisit
Scope and language reference
This drill covers the C forms used across the current 2122 foundations, recall and midterm practice: variables, expressions, control flow, functions, pointers, arrays, strings, standard I/O, memory, structures, byte operations, headers and build commands. Each question supplies its own context.
Several choices may be valid C in another context. Choose the form that fulfills the exact request. A miss does not necessarily mean the chosen text could never compile.