Note 1 from 2022-11-30
Published on
arrays now start at whatever index you access first.
int[2] a; a[0] = 1; a[1] = 2; // OK int[2] b; b[1] = 2; b[0] = 1; // Array index out of bounds.
Tagged:
- Personal
- Note
- Short
Published on
arrays now start at whatever index you access first.
int[2] a; a[0] = 1; a[1] = 2; // OK int[2] b; b[1] = 2; b[0] = 1; // Array index out of bounds.
Tagged: