Q.No.1

What symbol is used to mark the beginning and end of a C program?

Q.No.2

In which phase of the compilation process does the preprocessor expand macros and include header files?

Q.No.3

Which keyword is used to define a macro in C programming?

Q.No.4

What is the purpose of `gcc` in the compilation process of a C program?

Q.No.5

In C programming, which header file should be included to use functions like `printf()` and `scanf()`?

Q.No.6

What does the linker do in the compilation process of a C program?

Q.No.7

What is the correct syntax to declare a variable in C programming?

Q.No.8

Which of the following is not a valid data type in C?

Q.No.9

What is the default return type of a function in C if not specified explicitly?

Q.No.10

What is the purpose of the `#include <stdio.h>` directive in a C program?


About Simple Quiz

We're here to make learning fun and accessible. Whether you're a student, teacher, or just someone who loves quizzes, you can find something for you here. Test your knowledge across a wide range of subjects and see how much you know!


Get to know more

Quiz On

Test your overall understanding of C programming with a variety of general quiz questions.

Category

Discover the foundational principles of C programming, ideal for beginners entering the world of coding.


C Programming

Sector

Test your knowledge on the fundamentals of creating software by writing and understanding code in various programming languages.


Programming


Start A Quiz

Do you want to start quiz mode? In this mode, you’ll answer against a timer. When the timer runs out, answers auto-submit, and you get feedback.

Start A Quiz

Do you want to start quiz mode? You'll answer against a timer. When the timer runs out, answers auto-submit