
Programming & Coding · C
C Code Output Quiz: Predict the Result
C output questions: predict what short C programs print, covering loops, sizeof and strlen(), pointer arithmetic, static variables and bitwise operators.
Quiz · C
A C programming quiz for beginners: main() and stdio.h, printf() format specifiers, integer division, characters as numbers, sizeof, const and ++.
C programming quizzes on types, operators and printf(), predicting C code output, and the pointers, arrays and memory management C is known for.
Before you start
You have 15 seconds for each question. When time runs out, the question counts as wrong.
Your first choice is the one that counts. It is checked straight away, with an explanation where there is one.
At the end you see your score and can go back through every question and its answer.
XP scales with your score. Replays earn XP only when you beat your previous best.
From players
Play next

Programming & Coding · C
C output questions: predict what short C programs print, covering loops, sizeof and strlen(), pointer arithmetic, static variables and bitwise operators.

Programming & Coding · C
A C pointers quiz: dereferencing, arrays as pointers, structs and ->, pointers to pointers, malloc(), calloc() and free(), leaks and dangling pointers.