

MCQOPTIONS
Saved Bookmarks
This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Company QA knowledge and support exam preparation. Choose a topic below to get started.
1. |
Which of the following header file does not exist? |
A. | <iostream> |
B. | <string> |
C. | <sstring> |
D. | <sstream> |
Answer» D. <sstream> | |
2. |
setprecision requires which of the following header file? |
A. | stdlib.h |
B. | iomanip.h |
C. | console.h |
D. | conio.h |
Answer» C. console.h | |
3. |
jobsjobs |
A. | jobs |
B. | compile time error |
C. | program will not run |
Answer» D. | |
4. |
What does a default header file contain? |
A. | prototype |
B. | implementation |
C. | declarations |
D. | none of the mentioned |
Answer» B. implementation | |
5. |
Identify the incorrect statement. |
A. | iostream is a standard header and iostream.h is a non-standard header |
B. | iostream is a non-standard header and iostream.h is a non-standard header |
C. | iostream is a standard header and iostream.h is a standard header |
D. | none of the mentioned |
Answer» B. iostream is a non-standard header and iostream.h is a non-standard header | |
6. |
Which of the following keyword is used to declare the header file? |
A. | include |
B. | exclude |
C. | string |
D. | namespace |
Answer» C. string | |