Is **p and &(*p) same?

Options
- No
- Yes


CORRECT ANSWER : No

Discussion Board
op

* is dereference operator & is reference operator hence they get cancelled


nivetha 06-30-2019 12:22 PM

discuusion reply

**p is actually *(*p) which is a pointer to a pointer of p.
&(*p) is the address of pointer p.

karan 10-19-2014 11:02 AM

**p and &(*p)

Why and how??

sudhir 09-25-2014 01:03 PM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement