GAT Subject
Engineering
Computer Science Civil Engineering Chemical Engineering Agricultural Engineering Mechanical Engineering Electronics and Communication
3. | Which of the following is the correct usage of conditional operators used in C? | |
A. | a>b ? c=30 : c=40; | |
B. | a>b ? c=30; | |
C. | max = a>b ? a>c?a:c:b>c?b:c | |
D. | return (a>b)?(a:b) | |