1.

What is the output of this program?
#include 
using namespace std;
int max(int p, int q)
{
return ( p > q ? p : q);
}
int main()
{
int m = 15;
int n = 16;
cout << max(m, n);
return 0;
}

A. Compilation Error
B. Runtime Error
C. Garbage value
D. 15
E. 16
Answer» F.


Discussion

No Comment Found

Related MCQs