/* Demo ?: */ #include int main( int argc, char* argv[] ) { int a = 4, c; double x = 7; c = ( a > x ) ? a : x; printf("c = %d\n", c); }