1.

What is the output of this program?
#include <iostream>
using namespace std;
int main()
{
double P = 12.93099;
float Q = 11.120;
int R ;
R = (int) P;
cout << R < R = (int) Q;
cout << R ;
return 0;
}

A. 12.93099 11.120
B. 11.120 12.93099
C. 11 12
D. 12 11
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs