7 lines
449 B
HTML
7 lines
449 B
HTML
|
<p>
|
||
|
In the Introduction we already showed you how to dereference a pointer. You just put the *-operator in front of the pointer you want to <b>dereference, to get access to its value</b>. You have to dereference the pointer, when you just want to see the value or when you want to change it.
|
||
|
<p>
|
||
|
Now you should try to use pointers for yourself.
|
||
|
</p>
|
||
|
<p>Change the following program to print "number: 581" without changing the main function.</p>
|