Posts by Natã Marques • 81 points
1 post
-
8
votes3
answers1323
viewsQ: Why do pointers have a fixed size independent of the pointed type?
The space occupied by normal variables (int, float, double, char) obeys the type rule: int occupies 4 bytes, float occupies 4 bytes, double occupies 8 bytes etc. Why pointers of different types have…
casked Natã Marques 81