-
What is the output of the following program?
#include
using namespace std;
int fun(int n, int m)
{
if (n > m)
return n;
else
return m;
}
main()
{
int num0 = 6, num1 = 12;
int res;
bool x = true;
bool y = fun(num0, num1);
res =((num0 * num1) + (x + y));
cout << res;
}
-
- 6
- 12
- 74
- 50
- None of these
Correct Option: C
74