#7 C Program to find the greatest number using ternary operator.

 

This Program takes two numbers and finds the greatest among these using the ternary operator. A ternary operator is an operator which takes three operators rather than one or two that most operator uses. The ternary operator provides a way to shorten a simple if-else block. 



Post a Comment

0 Comments