Write for About C / C++ / C#
Discuss in our forum
By David Bolton
C++ also allows Pass by Reference where the address of the variable is passed in. As C lacks references, it is necessary to pass in a pointer to a variable if the function is to change the variable.
©2013 About.com. All rights reserved.