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);
}1.Compiler Error
2.5
3.10
4.none of the above
Posted Date:-2022-07-04 03:52:43