Have any questions?
[email protected]
English
Vietnamese
French
Spanish
Korean
Japanese
Thai
Chinese
Indonesian
Login
Signup
Contact
Login
Home
Where can the default parameter be placed by the user?
Question 1:
Where can the default parameter be placed by the user?
A.
leftmost
B.
rightmost
Feedback
To avoid the ambiguity between the non-default parameters and default parameters
C.
both leftmost & rightmost
D.
topmost
These questions are from this test. Would you like to take a practice test?
C++ Quiz 5 | Englishfreetest.com
20 minutes
10 questions
Do test
Some questions from the same exam
If the user did not supply the value, what value will it take?
Where can the default parameter be placed by the user?
Which value will it take when both user and default values are given?
What we can’t place followed by the non-default arguments?
If we start our function call with default arguments means, what will be proceeding arguments?
What is the default return type of a function?
What will be the output of the following C++ code?
#include
using namespace std;
int func(int m = 10, int n)
{
int c;
c = m + n;
return c;
}
int main()
{
cout << func(5);
return 0;
}
Which operator is having the right to left associativity in the following?
Which operator is having the highest precedence?
What is this operator called ?:?
Some other questions you may be interested in
… of you must do the work.
The cattle are … on the meadow.
The … of the cats are sharp.
The … is the east.
… men command respect.
It is good to eat orange … also.