1.

Rewrite the following C++ code using conditional operator.if (a>b)max=a;elsemax=b;

Answer»

max=(a>b)?a:b;



Discussion

No Comment Found