Pointers and references: Difference between revisions
→{{header|C++}}: pointer=0 is not C++ specific
(→{{header|C}} and {{header|C++}}: other forms of assignment of null pointer) |
(→{{header|C++}}: pointer=0 is not C++ specific) |
||
Line 69:
C++ specific alternative to "The following code creates a pointer to an int variable":
int* pointer2(&var);
'''With references:'''
|