Bsic C++ Quiz Questions & Answers - 1
Question: 1
In C++ which file comprises the combined properties of istream and ostream?
(A) stdio.h
(B) string.h
(C) conio.h
(D) iostream.h
Ans: D
iostream.h
Question: 2
____ File comprises of all standard declarations and definitions for predefined functions.
(A) Iostream
(B) Istream
(C) Footer
(D) Header
Ans: D
Header
Question: 3
How many methods are there for assigning data to the variables in C++?
(A) 2
(B) 3
(C) 4
(D) 5
Ans: A
2
Question: 4
The break statement would exit only ___
(A) Current program
(B) Current loop
(C) Current function
(D) None of these
Ans: B
Current loop
Question: 5
The header file can be given by using a preprocessor directive starts with ___
(A) #
(B) $
(C) /
(D) %
Ans: A
#
Related Questions
Recent Articles
Electromagnetic Field Theory Question Bank 2024-2025 More
Power Semiconductor Device and Integrated Circuits Questions More
Strength of Materials Questions and Answers Pdf More
Steam and Power Generation Quiz Questions & Answers Pdf More
Dc generator questions and answers pdf More
DC Generator Questions and Answers Pdf More
April-23-2024
| Meritnotes
Power Semiconductor Device and Integrated Circuits Questions More
April-22-2024
| Meritnotes
Strength of Materials Questions and Answers Pdf More
April-21-2024
| Meritnotes
Steam and Power Generation Quiz Questions & Answers Pdf More
April-20-2024
| Meritnotes
Dc generator questions and answers pdf More
April-18-2024
| Meritnotes
DC Generator Questions and Answers Pdf More
April-18-2024
| Meritnotes
Trending Posts
Double Synonyms Questions and Answers Pdf for SSC Exams More
7000+ GATE Biotechnology Question Paper with Answers 2024-2025 More
7000+ Multiple Choice Questions on Indian Economy Pdf More
Turbo Machines Multiple Choice Questions & Answers Pdf More
7000+ Biosphere MCQ Questions and Answers Pdf More
1000+ Last 15 Years GATE Papers with Solutions Pdf More
November-29-2019
| Meritnotes
7000+ GATE Biotechnology Question Paper with Answers 2024-2025 More
July-07-2023
| Meritnotes
7000+ Multiple Choice Questions on Indian Economy Pdf More
December-26-2023
| Meritnotes
Turbo Machines Multiple Choice Questions & Answers Pdf More
February-05-2024
| Meritnotes
7000+ Biosphere MCQ Questions and Answers Pdf More
July-20-2023
| Meritnotes
1000+ Last 15 Years GATE Papers with Solutions Pdf More
March-06-2024
| Meritnotes