In C, the asterisk (*) symbol is used to dereference a pointer.
It means to access the value stored at the address held by the pointer.
Therefore, *ptr is the correct syntax to access the value at the address ptr.
Get instant updates and alerts directly from our site.
Install this app on your device for quick access right from your home screen.