Question
1.
#include
2.
using namespace std;
3.
#define MIN(a,b) (((a)
What is the output of this program?
1.
#include
2.
using namespace std;
3.
#define MIN(a,b) (((a)
Answer: Option A
Was this answer helpful ?
:In this program, we are getting the minimum number using conditional operator.
Output:
$ g++ mac3.cpp
$ a.out
The minimum value is 100.01
Was this answer helpful ?
Submit Solution