1,072
edits
Line 84: | Line 84: | ||
=== Pointer and Reference appearance === | === Pointer and Reference appearance === | ||
Declarations of pointers have the '*' character cuddled with the name of the variable. | Declarations of pointers have the '*' character cuddled with the ''name'' of the variable. | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
Line 90: | Line 90: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
However, references have the '&' character cuddled with the type of the variable. | However, references have the '&' character cuddled with the ''type'' of the variable. | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> |
edits