-
What is the output of this program?
#include
using namespace std;
#define Minimum(n,m) (((n)<(m)) ? n : m)
int main ()
{
float f1, f2;
f1 = 211.25;
f2 = 211.025;
cout <<"The minimum is " << Minimum(f1, f2) << endl;
return 0;
}
-
- 211.025
- 211.25
- Compilation Error
- Runtime Error
- None of these
Correct Option: A
In this program, we are getting the minimum number using conditional operator.