4 ms·
If you declare int i[10]; you can't do ++i because modification of the value of i is not allowed.
by kylec 18y ago
If you declare
int i[10];
you can't do
++i
because modification of the value of i is not allowed.
- gizmo 18y agoYeah, but that's not the point. It's about which address points to which place. An array always points to its 0th member in C by default - that was the point. Declare int• j = i; and you can do as much pointer shuffling as you want.