Write the general syntax for conditional operator in C.
Answers
Answered by
1
Answer:
Answer:If the condition is true then expression1 is executed else expression2 is executed. x > y ? puts("x is greater") : puts("y is greater")
this is the general syntax for conditional operator in C.
______________________________
PLEASE MARK ME AS BRAINLIEST
Answered by
0
Answer:
The C Programming Conditional Operator returns the statement depends upon the given expression result. From the above syntax, If the given test condition is true, then it returns statement1, and if it is false, statement2 will return.
i hope this will be help full
Similar questions