3 ms·
> because the two sides of the ternary are guaranteed to be expressions rather than blocks But expressions can contain blocks. Therefore, this is valid: i
by progval 6y ago
> because the two sides of the ternary are guaranteed to be expressions rather than blocks
But expressions can contain blocks. Therefore, this is valid:
int main(void) {
while (1) {
1 ? ({ break; }) : ({ break; });
}
}
The right way to easily spot control flow construct is syntax highlighting.