Why can\'t we use return keyword inside ternary operators in C, like this:
sum > 0 ? return 1 : return 0;
return is a statement. Statements cannot be used inside expressions in that manner.
return