Use of Ternary oporator
? -If 
: -Else

# include <stdio.h>
int main()
{
    int a,b,c,d; //Declaring the variable
    a=5; //Declaring the value for a
    b=9; //Declaring the value for b
    c=3; //Declaring the value for c

    d=(a>b)?(b>c?3:4):(c>a?5:8);  //Conditions
    printf("%d",d);  //Printing the values
}