×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which of the following statement is correct about default arguments?

70. Which of the following statement is correct about default arguments?

  1. Arguments that cannot be passed to the function
  2. Arguments with a default value that is not mandatory to be passed into the function
  3. Arguments that always take the same data value
  4. None of the above

Answer: B) Arguments with a default value that is not mandatory to be passed into the function

Explanation:

In C++, we can create functions with default arguments. The default arguments are used with a default value that is not mandatory to be passed into the function.

Comments and Discussions!

Load comments ↻






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