0
Anyone knows how to clearly describe the use of pointers in C?
Can't really figure out how it works most of the time.
1 Resposta
+ 2
think of them as postcodes and addresses. postcodes allow to tell you where someone lives. once you know someone’s address you can and talk to someone there and do something else (e.g. paint their house, move in with them or help them move somewhere). so pointers in c are just addresses of houses (houses are memory areas in case of PCs)