0
Pointers
hello i still have problems with pointers and its necessity so this my explantations to some questions please correct me in case of mistake: **why we need to know the adress of each allocated memory? because each adress memory is unique in hexdecimal , we can use it in several cases such as the first occuration of a string/char in a table. **why we need to allocate memories ? it's the same as reservation : you should reserve a sit on the plane before you get on it
1 Resposta
0
Pointers are used to pointe to the addresses so knowing the address gives more advantages like how to use only the exact required space in the memory and allocate or free up this space dynamically.So no arbitrary size problem or buffer overflow errors .Good explanation you give for reservation ..