User Tools

Site Tools


cplusplus:pointers_1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
cplusplus:pointers_1 [2018/02/24 23:53]
mithat [Pointer variables]
cplusplus:pointers_1 [2019/03/11 19:44] (current)
mithat [Pointer operators]
Line 177: Line 177:
 cout << y;        // prints 7</​code>​ cout << y;        // prints 7</​code>​
  
-You can think of the indirection/​dereferencing operator as meaning, “the_thing_at_the_end_of”, as in:+You can think of the indirection/​dereferencing operator as meaning, “the_thing_at_the_end_of_”, as in:
  
-<​code>​the_thing_at_the_end_of__myPtr ​= 7;</​code>​+<​code>​the_thing_at_the_end_of_myPtr ​= 7;</​code>​
  
 The ''​*''​ and ''&''​ operators complement each other. In other words, the following expressions will all evaluate as true: The ''​*''​ and ''&''​ operators complement each other. In other words, the following expressions will all evaluate as true:
cplusplus/pointers_1.txt · Last modified: 2019/03/11 19:44 by mithat