Forget Code launches a powerful code generator for building API's

Conditional or Ternary Operator Usage in C

Syntax of conditional operation is :
(condition expression)? true: false;

# include <stdio.h>
void main()
int a, b, big ;
printf("Enter 2 numbers : ") ;
scanf("%d %d", &a, &b) ;
big = a > b ? a:b; // if a is bigger then, a will be the biggest number else b will be the biggest.
printf("\nThe biggest number is : %d", big) ;