download Mastguru Android App

Question Detail

Can we overload constructors in C++

  • Yes
  • No
Similar Questions :

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

2. what is the size of int datatype for 32 bit system

  • 1 byte
  • 2 byte
  • 4 byte
  • 8 byte

3. Dereference operator is also called as

  • pointer
  • Reference operator
  • Offset operator
  • Deoffset operator

4. Which operator is used to define a member of a class from outside the class definition

  • ->
  • ::
  • .
  • >>

5. Difference between static and dynamic memory allocation is

  • In static memory allocation memory to be allocated in preknown
  • In dynamic memory allocation memory to be allocated in preknown
  • There is no differnece
  • Not exact difference is mentioned
Read more from - C++ Programming Questions Answers - Chapter 1
Post a comment