20 questions · 35 minutes · C

C Basics: Practice Quiz 1 practice quiz

20-question practice quiz covering fundamental C programming concepts (easy → medium).

Before you start

Answer all 20 questions. Each question carries 1 mark. No negative marking. You have 35 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
20
Time
35 minutes
Marks
20
Subject
C
Marking
Server-side

What it asks

The first few questions

  1. Which header file is required for using printf and scanf functions?
  2. What is the correct format specifier to print an int using printf?
  3. Which of the following is NOT a valid C data type?
  4. What does the sizeof operator return for an expression?

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