C++ Virtual Functions MCQ Questions and Answers - 2
Question: 6
The functions that return no value is declared as ___
(A) Null
(B) Void
(C) Static
(D) Public
Ans: B
Void
Question: 7
In ___ method any change in the formal parameters is not reflected back to the actual parameter.
(A) Call by value
(B) Call by reference
(C) Call
(D) Return
Ans: B
Call by reference
Question: 8
The main purpose of function prototype is to help the ____ to check the data requirement of the function.
(A) Object
(B) Linker
(C) Interpreter
(D) Compiler
Ans: D
Compiler
Question: 9
An ___ looks like a normal function in the source file but inserts the function’s code directly into the calling program.
(A) Inline
(B) Online
(C) Mainline
(D) Line
Ans: A
Inline
Question: 10
Inline keyword is just a request to the ___
(A) Object
(B) Linker
(C) Interpreter
(D) Compiler
Ans: D
Compiler
Dc generator questions and answers pdf More
DC Generator Questions and Answers Pdf More
Electromagnetic Induction Quiz Questions and Answers More
Basic Electronics Quiz Questions with Answers Pdf More
Wireless Communication MCQ Questions with Answers More
7000+ Biosphere MCQ Questions and Answers Pdf More
1000+ Mechanisms and Machines Questions and Answers Pdf More
Population Gk Questions and Answers More
TRB Model Question Paper for Geography More
1000+ Civil Engineering Multiple Choice Questions and Answers More