Skip to content
Sign in
Computer

Which operator is used to access the value at a pointer’s address?

Tap an option to check the answer. You can also press A–D.

Explanation
The * operator, called the dereference operator. It is used to access the value stored at the pointer’s address. & gives the address, [] is for arrays, and -> accesses members of a struct via pointer.