Question Detail

Data members and member functions are enclosed within ?

  • union
  • structure
  • class
  • array
Similar Questions :

1. The antonym of constructor is ?

  • Creator
  • Distinct
  • Destroyer
  • Destructor

2. When a structure refers to itself, it is known as ?

  • encapsulated structure
  • nested structure
  • recursive structure
  • self-referential structure

3. What is data hiding ?

  • It is related with hiding internal object details
  • It is related with showing internal object details
  • It is related with datatypes
  • None of above

4. int *ptr[5];

  • a pointer of 5 int elements
  • an array of 5 int pointers
  • an array of 5 elements returning an int value
  • none of above

5. The symbol ** __ .

  • can be overloaded by changing its datatype.
  • cannot be overloaded, as on overloading its meaning shall be changed.
  • can be overloaded.
  • cannot be overloaded as it is not a C++ operator.
Read more from - C++ Programming Questions Answers - Set 2