download Mastguru Android App

Question Detail

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

  • encapsulated structure
  • nested structure
  • recursive structure
  • self-referential structure
Similar Questions :

1. Which among following is not a valid visibility mode in c++ program ?

  • Private
  • Public
  • Protected
  • Limited

2. Classes in c++ are ?

  • Fundamental data type
  • Primitive data type
  • Desired data type
  • Not defined

3. 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

4. The advantage of declaring a virtual function as pure is
?

  • programs runs faster
  • early binding can be achieved
  • you force any derived class to define its own implementation
  • you can avoid making the class an abstract class

5. << operator is ?

  • stream extraction operator
  • stream insertion operator
  • left shift operator
  • right shift operator
Read more from - C++ Programming Questions Answers - Set 2
Post a comment