Question : Why are pointers efficient?

Hello.

I know pointers can point either to an address or the container of the address.

They are useful because they can indirectly access a variable without changing it (Bad wording I know)

I know my explanation is unimpressive but can someone provide a summary of the usefulness of pointers that can be remembered for future references, thanks.

Answer : Why are pointers efficient?

I would guess that has to do with memory usage.

points allow you to reuse data without having to reallocate ram for the variable.



Random Solutions  
 
programming4us programming4us