Pointer to a function cannot be created.

Each statement below is either TRUE or FALSE. Choose the most appropriate one
and ENTER in the “tear-off” sheet attached to the question paper, following
instructions therein.

2.1 Pointer to a function cannot be created.
2.2 Virtual classes are the same as virtual function.
2.3 A class object can have a pointer, but its data members cannot have pointers.
2.4 For destroying class objects, we use garbage collector technique.
2.5 Virtual functions cannot be static members.
2.6 iostream is inherited from istream, ostream and ios class.
2.7 Functions can return an object.
2.8 Macros work in the same way as functions work.
2.9 Function parameter cannot be a given default value.
2.10 Template is a keyword.


Leave a Reply