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. Declaring pointer more than one can cause

  • Trap
  • abort a program
  • error
  • none of above

2. Difference between static and dynamic memory allocation is

  • In static memory allocation memory to be allocated in preknown
  • In dynamic memory allocation memory to be allocated in preknown
  • There is no differnece
  • Not exact difference is mentioned

3. Every class has atleast one construtor

  • True
  • False

4. expression x.y represents as

  • member x of object y
  • member y of object x
  • member y of object pointed by x
  • all of above

5. cout is declared in the _____ standard file within the std namespace

  • outstream
  • stdin
  • iostream
  • None of above
Read more from - C++ Programming Questions Answers - Chapter 1