1. Computer Science Engineering (CSE)
  2. CPP Programming
  3. Output of the program? #include<iostream...
Q.

Output of the program?
#include<iostream>
using namespace std;
int fun(int x = 0, int y = 0, int z)
{ return (x + y + z); }
int main()
{
cout << fun(10);
return 0;
}

A. 10
B. 0
C. 20
D. Compiler Error
Answer» D. Compiler Error
View all MCQs in:   CPP Programming

Discussion