25 questions · 30 minutes · C Programming

C Programming Fundamentals Quiz practice quiz

25 easy MCQs on C basics: variables, if/else, loops, simple pattern logic, age checker, and even/odd programs.

Before you start

Read each question carefully. 25 questions, 1 mark each. No negative marking. 30 minutes.

You can take this without an account and you will still get the full marked review. Only signed-in attempts are saved — sign in first if you want this one kept in your history.

Questions
25
Time
30 minutes
Marks
25
Subject
C Programming
Marking
Server-side

What it asks

The first few questions

  1. Which header is required for printf and scanf in C?
  2. Which is a correct declaration of an integer variable?
  3. What is the correct format specifier to print an int with printf?
  4. Which operator checks if two values are equal in C?

21 more once you begin. Options are withheld until the attempt starts — the answer key never reaches the browser before you have been marked.