1000+ C++ Questions and Answers Pdf - 2
Question: 6
A function argument is a
(A) Value sent to function by the calling program
(B) Value returned by the function to the calling program
(C) Variable in the function that receives a value from the calling program
(D) Way that functions resist accepting the calling program’s values
Ans: A
Value sent to function by the calling program
Question: 7
The break statement causes an exit
(A) From the innermost loop or switch
(B) Only from the innermost switch
(C) Only from the innermost loop
(D) From all loops and switches
Ans: D
From all loops and switches
Question: 8
Element double array [7] is which element of the array?
(A) Sixth
(B) Seventh
(C) Eighth
(D) Impossible
Ans: C
Eighth
Question: 9
In C++, a structure brings together a group of
(A) Items of the same data type
(B) Integers with user-defined names
(C) Related data items, variables
(D) All of these
Ans: C
Related data items, variables
Question: 10
In C++, which of the following can legitimately be passed to a function?
(A) A constant
(B) A variable
(C) A structure
(D) All of these
Ans: D
All of these
- 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 Engineering MCQ Questions & Answers Pdf More
Surveying and Levelling Agricultural Engineering MCQ Questions More
Electromagnetic Induction Questions & Answers Pdf More
A.C. Basics and Networks Quiz Questions & Answers Pdf More
Signals and Systems Quiz Questions and Answers Pdf More
100+ Train Problems Questions and Answers Pdf More
DBMS Online Test | Questions and Answers for Competitive Exams More
1000+ Construction Materials Objective Questions & Answers More
Top 10+ Sentence Pattern Questions and Answers More
100+ Geography Transport and Communication Services Questions More