|
|
|
|
|
by barrkel
4037 days ago
|
|
Another oddity of C that amuses me is the do/while loop without braces: int i = 4;
do
printf("hey\n");
while (--i > 0);
Even though do/while is a keyword bracketing pair in C, it still only lets you use a single statement (because nested whiles). So everybody uses braces, and thus it looks quite disturbing without them. |
|