Question Detail

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

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

  • True
  • False

2. Size of a char is ?

  • 1
  • 2
  • 3
  • 4

3. Stacks are based on ?

  • FIFO
  • LIFO
  • FILO
  • All of above

4. && means ?

  • Logical OR
  • Bitwise OR
  • Logical AND
  • Bitwise AND

5. 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
Read more from - C++ Programming Questions Answers - Set 2