C quiz: 56 questions
56 questions from the 18 lessons of Structured Programming in C. Each answer is explained, with a link back to the lesson it comes from, and your best score stays on this device.
Test yourself
56 questions from this course's lessons, in a random order. See what you remember, then go back to the lessons behind the questions you missed.
What the quiz covers
- Your first C program (3 questions)
- Variables and types (3 questions)
- Operators and expressions (3 questions)
- Input and output: printf and scanf (3 questions)
- Decisions: if, else and switch (3 questions)
- Loops: for, while and do-while (3 questions)
- Arrays (3 questions)
- Strings are char arrays (3 questions)
- Functions (3 questions)
- Recursion and the call stack (3 questions)
- Pointers (3 questions)
- Pointers and arrays (3 questions)
- Structures (3 questions)
- Constants, enums and macros (4 questions)
- Dynamic memory: malloc and free (3 questions)
- Linked lists (3 questions)
- Reading and writing files (4 questions)
- Bugs C will not catch (3 questions)