Which of the following statement will be correct if the function has three arguments passed to it?
Overall Stats
Answers
Blank OP from Bacolod City, Philippines is saying The first argument will be the default argument. is correct answer
swathi from Chennai, India is saying The middle argument will be the default argument. is correct answer
Rohan Bhosale from Pune, India is saying The first argument will be the default argument. is correct answer
Neyah Deshmukh from India is saying The first argument will be the default argument. is correct answer
Muhammad Asghar from Vehari, Pakistan is saying All the argument will be the default argument. is correct answer
Related Questions
Which of the following parameter passing mechanism is/are supported by C++ but not in C?
- [A] Pass by value
- [B] Pass by reference
- [C] Pass by value result
- [D] All of the above
The signature of a function is its ..... ?
- [A] Function code
- [B] Prototype
- [C] Call
- [D] Parameter list
Which of the following statement is correct?
- [A] C++ enables to define functions that take constants as an argument.
- [B] We cannot change the argument of the function that that are declared as constant.
- [C] Both A and B.
- [D] We cannot use the constant while defining the function.
When an argument is passed by reference
- [A] a variable is created in function to hold the argument value
- [B] the function cannot access the argument value
- [C] a temporary variable is created in the calling program to hold arguments value
- [D] None of these
Overloaded function
- [A] are a group of functions,with the same value
- [B] all have the same number and types of arguments
- [C] make life simpler for programmers
- [D] may fail unexpectedly due to stress