Have any questions?
[email protected]
English
Vietnamese
French
Spanish
Korean
Japanese
Thai
Chinese
Indonesian
Login
Signup
Contact
Login
Home
If the user did not supply the value, what value will it take?
Question 1:
If the user did not supply the value, what value will it take?
A.
default value
Feedback
If the user did not supply the value means, the compiler will take the given value in the argument list
B.
rise an error
C.
both default value & rise an error
D.
error
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
He says that he .................... glad to be here in this evening.
The teacher says that the earth ..................... round the sun.
The report says that global temperatures ...................
Sam asked me ........................ I was going to the party.
Rajiv said that he ......................... something to eat.
Martin said that he ....................... that party.