Comment Comment by defrost > "How do I get the third element of this array" should be `arr[2]`Ask a carpenter.To get to the third pigeonhole in a racked series of one foot per pigeonhole unit you literally offset two feet from the origin.In C (of course), arr[2] works as well as does 2[arr] as both are literally just syntactic sugar for arr+2ie. The third pigeon hole begins after passing two whole pigeonholes. parent defrost 2 months ago
Ask a carpenter.
To get to the third pigeonhole in a racked series of one foot per pigeonhole unit you literally offset two feet from the origin.
In C (of course), arr[2] works as well as does 2[arr] as both are literally just syntactic sugar for arr+2
ie. The third pigeon hole begins after passing two whole pigeonholes.