28. WAP to print which number is bigger using conditional operator.

 #include<stdio.h>

void main()

{

        int i=5,j=10,k=7,res;

        i>j ? printf("i bigger\n") : printf("j bigger\n");

        res=i>j ? (i>k ? i : k) :(j>k ? j :k);

        printf("res = %d\n",res);

}

Comments