download Mastguru Android App

Question Detail

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
Similar Questions :

1. What is default visibility mode for members of classes in C++ ?

  • Private
  • Public
  • Protected
  • Depends

2. Inheritance is transitive in nature.

  • True
  • False

3. The major goal of inheritance in C++ is ?

  • To facilitate the reusability of code
  • To help modular programming
  • To facilitate the conversion of data types
  • To extend the capabilities of a class

4. Constructors has return type void ?

  • True
  • False

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