1.

What is the output of this program?
#include <iostream>
using namespace std;
int main ()
{
int p, q, R;
p = 5;
q = 3;
R = (p > q) ? p : q;
cout << R;
return 0;
}

A. 3
B. Compilation Error
C. Runtime Error
D. Garbage value
E. 5
Answer» F.


Discussion

No Comment Found

Related MCQs