3 ms·
Arrays in C (once passed to functions) are pointers, even when they use array syntax: https://www.digitalmars.com/articles/C-biggest-mistake.html https://www.d
by WalterBright 7y ago
Arrays in C (once passed to functions) are pointers, even when they use array syntax:
https://www.digitalmars.com/articles/C-biggest-mistake.html https://www.digitalmars.com/articles/C-biggest-mistake.html
- klyrs 7y agoYou don't need arrays for the code I was describing: it's a nested for-loop on 4 ints. But, yeah, that's a really common mistake.