New course! Every coder should learn Generative AI!
Try a free lesson0
What's the difference between asterisk (*) and ampersand (&) in pointer?
4 Answers
+ 1
* defines that it is pointer
& is used to get adress of variable which are you pointing to
+ 2
Got
+ 1
Thank you
+ 1
* is also used for dereferencing a pointer