I understand there are HW platforms where you need more information to point to a char
than you need to point to an int
(the platform having non-ad
As far as I understand C and C++ assume memory to be linearly byte addressable. Certain platforms (early ARM) however insist on word aligned loads and stores. In such a case, it is the compiler's responsibility to round the pointer to the word boundary and then perform the necessary bit shift operations when fetching say a char.
But since this is all done only on loads and stores, all pointers still all look the same.