". VdoTips: C++ PRACTICE SET

APPLY LATEST GOVT JOBS

hi

C++ PRACTICE SET

146. Which of the following header file includes definition of cin and cout?
(A). istream.h
(B). ostream.h.
(C). iomanip.h.
(D). iostream.h.


147. Which of the following is an invalid label while inheriting a class?
(A). Public.
(B). Protected.
(C). Private.
(D). Friend.


148. Which of the following access specifier is used as a default in a class definition?
(A). Public.
(B). Protected.
(C). Private.
(D). Friend.


149. Which inheritance type is used in the class given below? class A : public x, public y
(A). Multilevel inheritance.
(B). Multiple inheritance.
(C). Hybrid inheritance.
(D). Hierarchical inheritance


150. Which of the following concepts means waiting until runtime to determine which function to call?
(A). Data hiding.
(B). Dynamic casting.
(C). Dynamic binding.
(D). Dynamic loading.