4 ms·
The "arrow decrement" is fun: int x = 10; while (x --> 0);
by alfl 6y ago
The "arrow decrement" is fun:
int x = 10;
while (x --> 0);
- a1369209993 6y agoAppropos of this, the idiomatic (!= obvious, sadly) way to iterate backwards over a array: for(size_t i=N; i-- > 0 ;) do_stuff_with(&a[i]);