News

All array subscription operations in C get decomposed to pointer arithmetic anyhow; and when dealing with either multi-dimensional arrays or arrays of structs, where you want to access an ...
One of the most important application design decisions involves which data structure to use. Arrays and linked lists are among the most common data structures, and each is applicable in different ...
Just remember casting pointer to int is a bad idea. When someone port the code to 64bit the pointer will be 64bit but int usually stay at 32bit.