Exam Tiger
APTITUDE TESTS - MENTAL ABILITY - SOLVED OBJECTIVE MCQ SETS - QUESTION ANSWER - PDF STUDY MATERIALS - SHORTCUT TIPS

C++ Programming - Selected Questions → Page 3

C++ Programming - Selected Questions solved MCQ sets : CPP (C++) MCQ with Answer : C++ is the popular programming language for interview and is favorite topics to test knowlege of a candidated on programming concept. We are listing some selected CPP important questions o...READ MORE


INSTRUCTION: CLICK ON THE OPTION (A, B, C, D) TO SELECT IT AS YOUR ANSWER.


Q. Reusability of code in C++ is achieved through ____
A.
Polymorphism
B.
Inheritance

C.
Encapsulation
D.
Both A and B

Show Answer
Q. In CPP, members of a class are ______ by default.
A.
Public
B.
Private

C.
Protected
D.
Static

Show Answer
Q. In C++ Program, inline fuctions are expanded during ____
A.
Run Time
B.
Compile Time

C.
Debug Time
D.
Coding Time

Show Answer
Q. To perfor file input / output operation in C++, we must include which header file ?
A.
<fiostream>
B.
<ifstream>

C.
<ofstream>
D.
<fstream>

Show Answer
Q. An exceptio in C++ can be generated using which keywords.
A.
thrown
B.
threw

C.
throw
D.
throws

Show Answer


eXTReMe Tracker