What is the output of following code?
#include <stdio.h>
int main()
{
    int i;
    i = 10> 12 ? 15 : 1 != 2 < 5 ? 20 : 30;
    printf("Value of x:%d", i);
    return 0;
}


Posted on by