Introduction To C Plus Plus - Study Mode
[#1] What are the actual parameters in C++?
Correct Answer
(A) Parameters with which functions are called
[#2] Which of the following is used to make an abstract class?
Correct Answer
(D) By declaring a pure virtual function in a class
[#3] Which of the following supports the concept that reusability is a desirable feature of a language?
Correct Answer
(D) It reduced both testing and maintenance time
[#4] Which of the following is C++ equivalent for printf()?
Correct Answer
(B) cout
[#5] Which of the following is correct?
Correct Answer
(C) struct is not required in C++ but required in C while declaring an object of the structure
(H) C++ allows both static and dynamic type checking
(L) All of the mentioned
(N) An object is an instance of its class
(Q) struct cannot have member function in C but it can in C++