What will the following statement do in C Programing language?

Quotient=(b==0) ? 0: (a/b);/*a,b,andquotient are ints*/
Asked May 06, 2010
It is working like if else statement.
Answered Jan 23, 2018
Most statements in a typical C program are simple statements of this form. Other examples of simple statements are the jump statements return, break, continue, and goto. A return statement specifies the return value for a function (if there is one), and when executed it causes the function to exit immediately.
Answered Apr 15, 2020

TIP: If it's not your answer to this question, please click "Leave a Comment" button under the question to communicate with the question owner.

Can you help them?

You may want to know: