Practice C Programming MCQs with answers. Variables, pointers, arrays, functions & more — fully solved for 2026 exams and interviews. These MCQs are perfect for NTS, PPSC, FPSC, CSS, OTS, UPSC, GATE, UGC NET, bank exams, university exams, and job interviews. The bold green option ✅ is the correct answer.
Basics
1. C language was developed by:
a) James Gosling b) Dennis Ritchie ✅ c) Bjarne Stroustrup d) Guido van Rossum
2. C is a:
a) Object-oriented language b) Procedural / structured language ✅ c) Scripting language d) Markup language
3. The entry point of every C program is:
a) start() b) begin() c) main() ✅ d) init()
4. Which header file is required for printf and scanf?
a) stdio.h ✅ b) math.h c) string.h d) stdlib.h
Data Types & Operators
5. The size of int in C (32-bit) is:
a) 1 byte b) 2 bytes c) 4 bytes ✅ d) 8 bytes
6. Which operator is used for modulus?
a) / divide b) * multiply c) % modulus ✅ d) ^ caret
7. The && operator in C represents:
a) OR b) NOT c) AND (logical) ✅ d) XOR
Pointers & Arrays
8. A pointer in C stores:
a) A data value b) The memory address of another variable ✅ c) A file path d) A function name
9. The symbol used to declare a pointer is:
a) & b) # c) * (asterisk) ✅ d) @
10. An array name in C represents:
a) Last element b) Size of array c) Address of the first element ✅ d) Data type
11. Strings in C are:
a) A built-in data type b) Arrays of characters terminated by null ✅ c) Integer arrays d) Pointer arrays
⚡ Functions & Control
12. A function that calls itself is:
a) Inline function b) Nested function c) Recursive function ✅ d) Static function
13. The break statement is used to:
a) Continue loop b) Exit from a loop or switch immediately ✅ c) Skip iteration d) Return value
14. The continue statement:
a) Exits the loop b) Skips current iteration and moves to next ✅ c) Breaks program d) Returns value
Practice More MCQs
️ Operating System MCQs
Computer Hardware MCQs
Python MCQs
️ SQL MCQs
☕ Java MCQs

Leave a Comment