Reference (&) vs Dereference (*) in C

This page explains pointers in details and can be very helpful:
http://www.cplusplus.com/doc/tutorial/pointers/

Two important points:

  • & is the reference operator and can be read as “address of”
  • * is the dereference operator and can be read as “value pointed by”

Please Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s