download Mastguru Android App

Question Detail

Can we define array of classes in c++ ?

  • Yes
  • No
Similar Questions :

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

  • free
  • void
  • empty
  • null

2. The private data members of a class are accessible ?

  • Directly to objects of that class
  • To any function defined outside a class
  • Only to the member functions
  • Only using keyword static

3. The advantage of declaring a virtual function as pure is
?

  • programs runs faster
  • early binding can be achieved
  • you force any derived class to define its own implementation
  • you can avoid making the class an abstract class

4. C++ is a ?

  • Procedural programming language
  • Structural programming language
  • Low level language
  • Object oriented programming language

5. What is default visibility mode for members of classes in C++ ?

  • Private
  • Public
  • Protected
  • Depends
Read more from - C++ Programming Questions Answers - Set 2
Post a comment