1.

What is the output of this program?
#include 
using namespace std;
int main()
{
float n1 = 10.1;
double n2 = 10.1;
if (n1 == n2)
cout << "Interview";
else
cout << "Mania";
return 0;
}

A. Interview
B. Mania
C. Compilation Error
D. Runtime Error
E. None of these
Answer» C. Compilation Error


Discussion

No Comment Found

Related MCQs