download Mastguru Android App

Question Detail

what is a class in c++

  • Class in a collection of objects
  • Class has noting to do with object
  • It just have declaration of few variables
  • None of above
Similar Questions :

1. Default constructor has how many arguments

  • 1
  • 2
  • 3
  • 0

2. \r is used for

  • carriage return
  • new line
  • end of the line
  • vertical tab

3. Which is not a correct variable type

  • float
  • int
  • double
  • real

4. All members of class have which access to its members

  • private
  • public
  • protected
  • depends

5. Declaring pointer more than one can cause

  • Trap
  • abort a program
  • error
  • none of above
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment