1.

What is the output of this program?
#include 
using namespace std;
int main()
{
float num0 = 10.6;
double num1 = 10.6;
if (num0 == 10.6f)
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