Basics
Variables
Operators
Loops
Functions
100

1) What is the full form of C?

C does not have a full form

100

1) What is a variable in C?

A named storage location to store data

100

1) Which operator is used for addition in C?

+

100

1) Which loop is used when the number of iterations is known? 

for loop

100

1) What is a function in C? 

A block of code that performs a specific task

200

2) Who developed the C programming language?

Dennis Ritchie

200

2) Which keyword is used to declare an integer variable?

int

200

2) What is the result of 10 % 3?

1

200

2) Name any one looping statement in C. 

for / while / do-while

200

2) Which keyword is used to return a value from a function? 

return

300

3) Which function is the entry point of every C program?

main()


300

3) What is the correct format to declare a float variable?

float variable_name;

300

3) Which operator is used for comparison

==

300

3) Which loop executes at least once? 

do-while loop

300

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

int

400

4) What symbol is used to end a statement in C?

Semicolon (;)

400

4) Can variable names start with a number?

No

400

4) What does the ++ operator do?

Increments value by 1

400

5) What keyword is used to exit a loop? 

break

400

4) What are the two main types of functions in C? 

Library / User-defined

500

5) Which header file is used for input and output functions?

stdio.h

500

5) What is the purpose of initialization of a variable?

To assign an initial value

500

5) Which operator is used for logical AND?

&&

500

5) What keyword is used to skip an iteration?

continue

500

5) What is used to call a function?

Call