C++ Programming :: Functions - C++
-
Where the default value of parameter have to be specified?
-
Which of the following statement is correct?
-
Which of the following statement is correct?
-
Which of the following statement is incorrect?
-
Which of the following statement is correct?
-
Which of the following function / types of function cannot have default parameters?
-
Which of the following statement is correct?
A.
A default argument is checked for type at the time of declaration and evaluated at the time of call.
|
B.
We can provide a default value to a particular argument in the middle of an argument list.
|
C.
We cannot provide a default value to a particular argument in the middle of an argument list.
|
D.
Default arguments are useful in situations where some arguments always have the same value.
|