C++ Programming Questions Answers - Chapter 1
-
22. Dereference operator is also called as
- pointer
- Reference operator
- Offset operator
- Deoffset operator
Answer :
Option C
-
23. Which class has only one unique value for all the objects of class
- this
- friend
- static
- none of above
Answer :
Option C
-
24. Which of the following cannot be inherited from the base class
- Constructor
- Friend
- Both A and B cannot be inherited
- Both A and B can be inherited
Answer :
Option C
-
25. What is abstract class
- Whose objects cant be created
- Whose objects can be created
- Depends on class
- None of above
Answer :
Option A
-
26. Declaring pointer more than one can cause
- Trap
- abort a program
- error
- none of above
Answer :
Option A
-
27. Which is not a correct variable type
- float
- int
- double
- real
Answer :
Option D
-
28. Can #define accept parameters
- Yes
- No
Answer :
Option A