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 scope for a structure ?

  • Private
  • Protected
  • Public
  • None of aobve

2. Even if we define a function in a class, then also we need to declare it first.

  • True
  • False

3. What is actual syntax of destructor in c++ ?

  • !Classname( )
  • @Classname( )
  • $Classname( )
  • ~Classname( )

4. Destructors are called ?

  • not defined
  • in any order
  • in the reverse order of constructor calls
  • in the same order of constructor calls

5. What is class in c++ ?

  • When you define a class, you define a blueprint for a data type.
  • When you define a class, you make get more funtionality.
  • When you define a class, you define the logic.
  • When you define a class, you make debugging.
Read more from - C++ Programming Questions Answers - Set 2
Post a comment