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. Can #define accept parameters

  • Yes
  • No

2. what is the size of int datatype for 32 bit system

  • 1 byte
  • 2 byte
  • 4 byte
  • 8 byte

3. How we define our name for constants

  • #constant
  • #define
  • #define_constant
  • #constant_define

4. Which class has only one unique value for all the objects of class

  • this
  • friend
  • static
  • none of above

5. \r is used for

  • carriage return
  • new line
  • end of the line
  • vertical tab
Read more from - C++ Programming Questions Answers - Chapter 1