Explore topic-wise MCQs in Compilers.

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

1.

Array passed as an argument to a function is interpreted as ______________

A. Address of the array
B. None of the mentioned
C. Base address
D. No. of elements of the array
Answer» D. No. of elements of the array
2.

What is the max no. of dimensions an array may have?

A. 2
B. 8
C. 20
D. No limit
Answer» E.
3.

Int RollNUm[30[4] is a?

A. 1-d Array
B. 3-D Array
C. 4- D Array
D. 2-D Array
Answer» E.
4.

In which way can SAM be stored in an array?

A. char name[]= SAM
B. char name[6]={ S , A , M }
C. char name[6]={ S , A , M }
D. char name [6]={ S , A , M , 0 }
Answer» E.