1.

Which of the following is correct use of Conditional Operator ?

A. a>b ? c=10;
B. max = a>b ? a>c?a:c:b>c?b:c
C. a>b ? c=50 : c=140;
D. a>b : c=10;
Answer» C. a>b ? c=50 : c=140;


Discussion

No Comment Found