25 questions · 30 minutes · C Programming

C Basics Quiz practice quiz

25 simple multiple-choice questions on C basics: variables, data types (int, char, float), placeholders, input, and while loops.

Before you start

25 questions. 1 mark each. No negative marking. Time: 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 of the following is the correct way to declare an integer variable named count in C?
  2. Which data type should you use to store a single character (like 'A')?
  3. Which of these is a floating-point type in C?
  4. Which placeholder is used with printf to print an int value?

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