Solved Problem! #CPP#2321
Back
Problem Statement - Output of a ternary operator operation
Write output of the following program using the ternary operation logic.
#include <iostream.h>
int main()
{
int a=10,b=23;
int c=a>b?a=b:b=a;
cout<<c<<endl;
return 0;
}
