Largest Number using Conditional Operator

Conditional Operator :

These are also called ternary operator or ?: operator. It just works like if-else. If expression  is true,  then, statement 1 is executed, else, statement 2 is executed.

SYNTAX:

(expression)?statement1:staement2;

C SOURCE CODE:

Leave a Reply

Your email address will not be published. Required fields are marked *