Question: can return statement be used with conditional operators?
Answer: The operator ?: works as follows expr1 is evaluated first if it is true expr2 is evaluated otherwise expr3 is evaluated. hence in expressions the return statement can not be used in C-language. The return statement is used for returning from a function , you can't use inside ternary operator.