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. Enumerator will allocate the memory when its variables are defined.

  • True
  • False

2. We can do constructor overloading in C++ ?

  • True
  • False

3. What is object in C++ ?

  • Object is part of syntax of a class.
  • Object is datatype of a class.
  • Object is an instance of a class.
  • Object is function of a class.

4. Enumerators are stored by the compiler in ?

  • string
  • integer
  • float
  • any of above

5. A class having no public constructors is

  • A public protected class
  • A public class
  • A protected class
  • A private class
Read more from - C++ Programming Questions Answers - Set 2