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. Which is not a correct variable type

  • float
  • int
  • double
  • real

2. Which among following has invalid syntax ?

  • #include
  • #include file
  • #include "file"
  • None of above

3. 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

4. Which of the following functions below can be used Allocate space for array in memory

  • calloc()
  • malloc()
  • realloc()
  • All of above

5. What is polymorphism

  • Ability to take more than one form
  • Ability to destroy destructor
  • Ability to create constructor
  • None of above
Read more from - C++ Programming Questions Answers - Chapter 1