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

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

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

Discussion