C

Asked • 04/06/19

What exactly is a C pointer if not a memory address?

In a reputable source about C, the following information is given after discussing the `&` operator:> ... It's a bit unfortunate that the terminology *[address of]* remains, because it confuses those who don't know what addresses are about, and misleads those who do: thinking about pointers as if they were addresses usually leads to grief...Other materials I have read (from equally reputable sources, I would say) have always unabashedly referred to pointers and the `&` operator as giving memory addresses. **I would love to keep searching for the actuality of the matter, but it is kind of difficult when reputable sources KIND OF disagree.**Now I am slightly confused--what *exactly* is a pointer, then, if not a memory address? **P.S.**The author later says: *...I will continue to use the term 'address of' though, because to invent a different one* [term] *would be even worse.*

1 Expert Answer

By:

Matthew H. answered • 04/08/19

Tutor
4.6 (12)

Professional C/C++ Developer Specializing in AVR/ARM Embedded Platform

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.