

MCQOPTIONS
Saved Bookmarks
This section includes 4 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. |
What is the output of this program?
|
A. | 303 |
B. | 304 |
C. | F 30 |
D. | 03 F |
E. | 30 F |
Answer» F. | |
2. |
What is the output of this program?
|
A. | Total seconds: 21795 |
B. | Total seconds: 20000 |
C. | Total seconds: 21000 |
D. | Total seconds: 21005 |
E. | Total seconds: 19000 |
Answer» B. Total seconds: 20000 | |
3. |
Which of the following accesses a variable in structure *p? |
A. | p>var; |
B. | p.var; |
C. | p-var; |
D. | p->var; |
E. | None of these |
Answer» E. None of these | |
4. |
The data elements in the structure are also known as what? |
A. | members |
B. | data |
C. | objects |
D. | All of above |
E. | None of these |
Answer» B. data | |