|
|
|
|
|
by gumby
4037 days ago
|
|
> Another oddity of C that amuses me is the do/while loop without braces: [...]
> Even though do/while is a keyword bracketing pair in C, it still only lets you use a single statement (because nested whiles). Ah, but don't forget you can still use the comma operator, so get several statements in before the semicolon: int i = 4;
do
printf("hey"), printf("Jude.\n");
while (--i > 0);
|
|