Sail E0 Webinar
Question

 What is the output of this program?

#include < iostream >

using namespace std;

#define MIN(a,b) (((a)

Options:
A .  100.01
B .  100.1
C .  compile time error
D .  none of the mentioned
Answer: Option A


In this program, we are getting the minimum number using conditional operator.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers