PRACTICE • LEARN • GROW
Module 1: Introduction to C - Final Quiz MCQs
Solve topic-wise placement questions and improve your skills.
Module 1: Introduction to C - Final Quiz Progress
0 of 7 completed
0%
Topic Track
You are viewing MCQs in preview mode. Log in to select options, submit answers, and track your progress.
Log In to Answer
1
Who designed the C programming language and at which facility was it created?
A.
Bjarne Stroustrup at Bell Labs
B.
Dennis Ritchie at Bell Labs
C.
Ken Thompson at Microsoft
D.
James Gosling at Sun Microsystems
Explanation & Key
Correct Answer:
2
Why is C categorized as a "middle-level" programming language?
A.
Because it was created in the middle of the 20th century
B.
Because it requires intermediate mathematical knowledge
C.
Because it combines low-level direct memory manipulation (pointers, bitwise operations) with high-level structured programming (functions, control blocks)
D.
Because it is designed exclusively for mid-range enterprise servers
Explanation & Key
Correct Answer:
3
In every standard C program, where does execution unconditionally begin?
A.
The first global variable declaration
B.
The first #include preprocessor directive
C.
The main() function
D.
The start() system vector
Explanation & Key
Correct Answer:
4
What is the exact chronological sequence of the 4 stages in the C compilation pipeline?
A.
Compiler → Preprocessor → Assembler → Linker
B.
Preprocessor → Compiler → Assembler → Linker
C.
Assembler → Preprocessor → Compiler → Linker
D.
Preprocessor → Linker → Compiler → Assembler
Explanation & Key
Correct Answer:
5
Which stage of the C build process is responsible for merging object files (.o/.obj) with library binary implementations like
printf()?
A.
Preprocessor
B.
Compiler
C.
Assembler
D.
Linker
Explanation & Key
Correct Answer:
6
What is the output of the following C program?
#include <stdio.h>
int main() {
printf("%d", printf("ReadyToGo"));
return 0;
}
A.
ReadyToGo9
B.
ReadyToGo
C.
9
D.
ReadyToGo1
Explanation & Key
Correct Answer:
7
What is the output of the following C code demonstrating macro expansion?
#include <stdio.h>
#define MULTIPLY(a, b) a * b
int main() {
int res = MULTIPLY(2 + 3, 3 + 5);
printf("%d", res);
return 0;
}
A.
40
B.
20
C.
16
D.
26
Explanation & Key
Correct Answer:
Question Palette
Answered
Current
Not Attempted
Wrong