1 . In C++ every statement end with
Answer
Semicolon (;)
2. Base class is
Answer
normal class
3. Which of the following is not a feature of C++.
Answer
Reflection
4. Which of the following is not a member of the class?
Answer
5. Which of the following is the correct class of the object cout?
Answer
ostream
6. Which of the following is not a type of inheritance?
Answer
Distributive
7. In protected inheritance, a public data member of the base class will be treated in a derived class as.
Answer
public
8. main is a/an
Answer
function
9. A set of arithmetic operators are.
Answer
+ , – , * , / , %
10. A set of logical operators are.
Answer
&&, ||, !
11. Which of the following concepts means determining at runtime what method to invoke.
Answer
Dynamic binding
12. is a way of combining data with functions into an object.
Answer
13. eof is an acronym of
Answer
end of file
14. C++ language has been developed by
Answer
Bjarne Stroustrup
15. Which operator has the lowest precedence?
Answer
Assignment
16. The ternary operator operates on how many operands?
Answer
3
17. An instance of a class is called…….
Answer
object
18. Which of the following library function below by default aborts the Program.
Answer
exit ( )
19. The individual elements in an array are called
Answer
Subscripted
20. The default access level assigned to members of the class is.
Answer
Private