Q. What is the output of this program?
Code:
#include
using namespace std;
int main()
{
float num0 = 10.6;
double num1 = 10.6;
if (num0 == 10.6f)
cout << "Arun";
else
cout << "Sharma";
return 0;
}
β
Correct Answer: (B)
Sharma