Explore topic-wise MCQs in C Programming.

This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your C Programming knowledge and support exam preparation. Choose a topic below to get started.

1.

enum types are processed by _________.

A. Assembler
B. Linker
C. Preprocessor
D. Compiler
E. None of these
Answer» E. None of these
2.

In the following code snippet, character pointer str holds a reference to the string ___________.

A. interviewmania.comc programming
B. interviewmania.com
C. c programming 0c programming
D. c programming
E. None of these
Answer» D. c programming
3.

What will be the output of the following program:- #include int main() { const int a=34; int b=128; a = b; printf("%d n",a); return 0; }

A. 128
B. 34
C. Compiler error
D. garbage value
Answer» D. garbage value