Question
1.
#include
2.
using namespace std;
3.
int func(int m = 10, int n)
4.
{
5.
int c;
6.
c = m + n;
7.
return c;
8.
}
9.
int main()
10.
{
11.
cout
What is the output of this program?
1.
#include
2.
using namespace std;
3.
int func(int m = 10, int n)
4.
{
5.
int c;
6.
c = m + n;
7.
return c;
8.
}
9.
int main()
10.
{
11.
cout
Answer: Option C
Was this answer helpful ?
We can't use the user argument infront of the default argument.
Was this answer helpful ?
Submit Solution