

MCQOPTIONS
Saved Bookmarks
This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Compilers knowledge and support exam preparation. Choose a topic below to get started.
1. |
WHAT_IS_MEANING_OF_THE_FOLLOWING??$ |
A. | |
B. | Interger array of size 20 pointing to an integer Pointer |
C. | None of the mentioned |
Answer» D. | |
2. |
INT_A[20]?$ |
A. | |
B. | 21 |
C. | 22 |
Answer» D. | |
3. |
What is the meaning of following declaration? |
A. | |
B. | Integer Array of size 20 |
C. | None of the mentioned |
Answer» B. Integer Array of size 20 | |
4. |
What does the following declaration mean? int (*a)[10] a is |
A. | Pointer to an array |
B. | None of the mentioned |
C. | Array of 10 integers |
D. | Both of the mentioned |
Answer» B. None of the mentioned | |
5. |
Which of the following gives the memory address of the first element in array tan? |
A. | tan[0] |
B. | tan |
C. | &tan |
D. | tan [1] |
Answer» C. &tan | |
6. |
Which of the following correctly accesses the seventh element stored in tan? |
A. | tan[6] |
B. | tan[7] |
C. | tan(7) |
D. | tan |
Answer» B. tan[7] | |
7. |
Which of the following is a two-dimensional array? |
A. | array array[20][20] |
B. | int array[20][20] |
C. | int array[20, 20] |
D. | char array[20] |
Answer» C. int array[20, 20] | |
8. |
What is the index number of the last element of an array with 29 elements? |
A. | 29 |
B. | 28 |
C. | 0 |
D. | Programmer-Defined |
Answer» C. 0 | |
9. |
Which of the following correctly declares an array? |
A. | Int array[ 10] |
B. | int array |
C. | array{10} |
D. | array array[ 10] |
Answer» B. int array | |