/15

C Basics MCQs

Test your fundamentals with quick and interactive C basics MCQs.

1 / 15

What is the correct syntax to start the main function?

2 / 15

Which symbol is used for block opening?

3 / 15

Which of the following is a correct comment in C?

4 / 15

Which of the following is NOT a keyword in C?

5 / 15

Which function is used to print output in C?

6 / 15

What is the default return type of main() in C (modern standard)?

7 / 15

The process of converting C code into machine code is called:

8 / 15

C language was developed by:

9 / 15

Which operator is used for assignment?

10 / 15

Which symbol is used to end a statement in C?

11 / 15

A C program always starts execution from:

12 / 15

Which header file is used for printf() and scanf()?

13 / 15

What is the correct way to declare a variable in C?

14 / 15

Which of the following is the correct file extension for a C program?

15 / 15

Which of the following is a valid C identifier?

Your score is

0%

Scroll to Top