modernc.org/ccgo/v3@v3.16.14/lib/testdata/tcc-0.9.27/tests/tests2/33_ternary_op.c (about) 1 #include <stdio.h> 2 3 int main() 4 { 5 int Count; 6 7 for (Count = 0; Count < 10; Count++) 8 { 9 printf("%d\n", (Count < 5) ? (Count*Count) : (Count * 3)); 10 } 11 12 return 0; 13 } 14 15 /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/