0

What's the difference between asterisk (*) and ampersand (&) in pointer?

24th Feb 2019, 7:13 PM
#happy
#happy - avatar
4 Réponses
+ 1
* defines that it is pointer & is used to get adress of variable which are you pointing to
24th Feb 2019, 7:24 PM
Maneren
Maneren - avatar
+ 2
Got
24th Feb 2019, 7:26 PM
#happy
#happy - avatar
+ 1
Thank you
24th Feb 2019, 7:26 PM
#happy
#happy - avatar
+ 1
* is also used for dereferencing a pointer
25th Feb 2019, 8:46 PM
Aleksi
Aleksi - avatar