Which of the following statement is correct about Default arguments (1)?

76. Which of the following statement is correct about Default arguments?

  1. Default arguments are allowed in the argument list of the function declaration.
  2. Default arguments are allowed in the return type of the function declaration.
  3. Default arguments are allowed with the class name definition.
  4. Default arguments are allowed with floating-point type values.

Answer: A) Default arguments are allowed in the argument list of the function declaration.

Explanation:

Default arguments are allowed in the argument list of the function declaration.

Comments and Discussions!

Load comments ↻






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