Pointer Variables in Programming Languages

In C and C++ programming languages, which symbol is used to access the value stored at a memory address:

Answer: *
Explanation

In both C and C++ programming languages, the symbol used to access the value stored at a memory address (dereferencing a pointer) is the asterisk (*).

* and & are the operators used in pointers.

* gives us the value stored at a particular address

whereas “ & “ gives us the address of the variable


This question appeared in Past Papers (8 times)
This question appeared in Subjects (1 times)

Install this app on your device for quick access right from your home screen.