Which of the following is responsible to create a default constructor in the class when the programmer does not create a constructor inside the class?

202. Which of the following is responsible to create a default constructor in the class when the programmer does not create a constructor inside the class?

  1. Compiler
  2. Linker
  3. Loader
  4. Pre-processor

Answer: C) Loader

Explanation:

In C++, the Compiler is responsible to create a default constructor in the class when the programmer does not create a constructor inside the class.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.