

MCQOPTIONS
Saved Bookmarks
This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Object Oriented Programming Using C++ knowledge and support exam preparation. Choose a topic below to get started.
1. |
Which of the following results in the allocation of memory for the extern variables? |
A. | Declaration |
B. | Definition |
C. | Including file |
D. | Memory is not allocated for extern variables |
Answer» C. Including file | |
2. |
Even if a variable is not declared as extern, it is extern by default. |
A. | True |
B. | False |
Answer» C. | |
3. |
Which condition is true if the extern variable is used in a file? |
A. | All the header files declare it |
B. | Only few required files declare it |
C. | All header files declared it if required |
D. | Only one header file should declare it |
Answer» E. | |