download Mastguru Android App

Question Detail

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

1. Stacks are based on ?

  • FIFO
  • LIFO
  • FILO
  • All of above

2. A class having no public constructors is

  • A public protected class
  • A public class
  • A protected class
  • A private class

3. Among following which will give the size of object or type ?

  • Calloc
  • Malloc
  • Sizeof
  • Realloc

4. Explicit call to a constructor means ?

  • Not providing the construction name at all
  • Is the shorthand method
  • Providing the constructor name explicitly to invoke it
  • Providing the constructor name implicitly to invoke it

5. Size of a char is ?

  • 1
  • 2
  • 3
  • 4
Read more from - C++ Programming Questions Answers - Set 2
Post a comment