Which of the following is the correct usage of conditional operators used in C? - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
17 Feb 2023 01:26 PM study24x7 study24x7

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)

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles