Vidyalelo
C++ Programming · Q8

Functions and Procedures in C++

Programming · C++ Programming · question 8

Q8

What is the purpose of default arguments in C++ functions?

A.
Allows a function to be called without providing all arguments
Answer
B.
Sets a default return value for the function
C.
Defines default behavior for the function
D.
Specifies the default data type for parameters

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board