download Mastguru Android App

Question Detail

Can we overload constructors in C++

  • Yes
  • No
Similar Questions :

1. Which among following has invalid syntax ?

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

2. Which of the following type of class allows only one object of it to be created

  • Virtual class
  • Abstract class
  • Singleton class
  • Friend class

3. ios::ate is used for

  • Set the initial position at the start of the file
  • Set the last position at the end of the file
  • Set the initial position at the end of the file
  • Set the last position at the start of the file

4. Which of the following cannot be inherited from the base class

  • Constructor
  • Friend
  • Both A and B cannot be inherited
  • Both A and B can be inherited

5. Which operator is used for comparing two variables

  • :=
  • =
  • =:
  • ==
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment