C++ Programming MCQ Questions with Answers - 2
Question: 6
Redirection redirects
(A) Screen from a device to a stream
(B) A device from the screen to a file
(C) A stream from a file to the screen
(D) A file from a device to a stream
Ans: C
A stream from a file to the screen
Question: 7
Memorizing the new items used in C++ is
(A) Critically important
(B) Completely irrelevant
(C) The key to wealth and success
(D) Something you can return to later
Ans: D
Something you can return to later
Question: 8
The scope resolution operator usually
(A) Providing a useful conceptual frame work
(B) Specifies a particular class
(C) Tells what base class is derived from
(D) Limits the visibility of variables to a certain function
Ans: B
Specifies a particular class
Question: 9
An enumerated data type brings together a group of
(A) Constant values, integers with user defined names
(B) Related data type
(C) Items of different data type
(D) All of these
Ans: A
Constant values, integers with user defined names
Question: 10
A variable defined within a block is visible
(A) From the point of definition onward in the block
(B) From the point of definition on ward in the function
(C) From the point of definition on ward in the program
(D) Throughout the function
Ans: A
From the point of definition onward in the block
- Top 150+ C++ Quiz Questions and Answers 2020-2021
- C++ MCQ Questions and Answers
- C++ Multiple Choice Questions and Answers
- C++ Objective Questions and Answers Pdf
- C++ Online Test | Questions and Answers for Gate 2020-2021
- C++ Programming Objective Questions and Answers Pdf
- Top 150+ C++ Programming Quiz Questions and Answers
- C++ Programming MCQ Questions with Answers
- 1000+ C++ Questions and Answers Pdf
- C++ Programming Questions with Solutions
- Top 1,000+ C++ Language Quiz Questions & Answers
Agricultural Structural and Environmental Control MCQ Quiz More
Science Solutions Class 10 Important Questions and Answers More
Science Solutions Class 10 Important Questions and Answers More
Samacheer Kalvi 10th Science Solutions Questions & Answers More
Samacheer Kalvi 10th Science Carbon and Its Compounds Questions More
Chemistry Carbon and its Compounds Questions & Answers More
100+ Sentence Rearrangement Questions for UPSC Exam More
Latest Banking GK Questions 2024-2025 More
Spreadsheet Multiple Choice Questions and Answers More
Microsoft Windows Quiz Questions and Answers More