download Mastguru Android App

Question Detail

Can we define array of classes in c++ ?

  • Yes
  • No
Similar Questions :

1. Inheritance is transitive in nature.

  • True
  • False

2. What is object in C++ ?

  • Object is part of syntax of a class.
  • Object is datatype of a class.
  • Object is an instance of a class.
  • Object is function of a class.

3. What among following is a generic class ?

  • Function Template
  • Class Template
  • Inherited Template
  • None of above

4. The objects can directly access ?

  • Public members
  • Private members
  • Both of above
  • None of above

5. Which of following valid option will not return a value in c++ ?

  • free
  • void
  • empty
  • null
Read more from - C++ Programming Questions Answers - Set 2
Post a comment