Question Detail

66. A constructor function is generally defined

  • In the private section of a class
  • In the public section of a class
  • In the protected section of a class
  • None of the above
Similar Questions :

1. Which among following is not a valid visibility mode in c++ program ?

  • Private
  • Public
  • Protected
  • Limited

2. How we can define member function outside the class ?

  • Using union
  • Using structure
  • Using pointers
  • Using scope resolution

3. Which of the following cannot be passed to a function ?

  • Array
  • Reference variable
  • Object
  • File

4. We can do constructor overloading in C++ ?

  • True
  • False

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