Skip Navigation
Hacker News @lemmy.smeargle.fans bot @lemmy.smeargle.fans
BOT

C uses "&" for the address-operator because 'ampersand sounds like "address"'

softwareengineering.stackexchange.com Why does C use the asterisk for pointers?

I'm just now learning about C. I find it odd that the creators chose the asterisk (*) as the symbol for pointers rather than a symbol that actually looks like a pointer (->). Considering how

Why does C use the asterisk for pointers?
1

You're viewing a single thread.

1 comments