What is the output of this program?
#include < iostream >
using namespace std;
int main()
{
int a = 5, b = 6, c;
c = (a > b) ? a : b;
cout
Here the condition is false on conditional operator, so the b value is assigned to c
Your email address will not be published. Required fields are marked *
Submit Your Solution hear: