Explore topic-wise MCQs in C Programming.

This section includes 2 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.

Which is true for b, if b is defined as int *b[10]; ?

A. The definition only allocates 10 pointers and does not initialize them
B. Initialization must be done explicitly
C. The definition only allocates 10 pointers and does not initialize them & Initialization must be done explicitly
D. Error
Answer» D. Error
2.

Which is true for a, if a is defined as int a[10][20]; ?

A. a is true two-dimensional array
B. 200 int-sized locations have been set aside
C. The conventional rectangular subscript calculation 20 * row + col is used to find the element a[row, col].
D. All of the mentioned
Answer» E.