Skip to content

Quiz · C

C Intermediate Quiz: Pointers, Arrays & Memory

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

Questions
15
Difficulty
Hard
Time
~12min
Per question
30sec

What it covers

C

A topic in Programming & Coding.

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

How it works

  1. 1

    The clock

    You have 30 seconds for each question. When time runs out, the question counts as wrong.

  2. 2

    Your answer

    Your first choice is the one that counts. It is checked straight away, with an explanation where there is one.

  3. 3

    The score

    At the end you see your score and can go back through every question and its answer.

  4. 4

    The XP

    XP scales with your score. Replays earn XP only when you beat your previous best.

From players

Ratings

Play next

All of C

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.

Medium difficulty15 questions~10 min
+120 XPPlay