0
Why do we need pointers if we can use ampersand operator?
3 Answers
+ 2
Like everything, there are different ways to do something. which one you choose is just down to preference.
+ 4
they're 2 different things * a reference operator while & is a dereference operator
+ 3
See ampersand holds the memory address of the variable and with the help of asterisk * (pointer) we can access the VALUE present in that address...đ