25 questions · 40 minutes · C Programming

C Basics - Practice Quiz practice quiz

Fundamental C programming concepts: syntax, data types, control flow, functions, I/O, pointers (25 questions).

Before you start

25 multiple choice questions. 1 mark each. No negative marking. Time: 40 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
40 minutes
Marks
25
Subject
C Programming
Marking
Server-side

What it asks

The first few questions

  1. What file extension is conventionally used for C source files?
  2. Which header file is required for printf and scanf functions?
  3. Which data type is used to store single characters?
  4. What is the correct way to declare a function that returns an int and takes no parameters?

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