please dont rip this site

Language Ccpp Cppref Examples Refvar.cc

/ ************************************************************************
 *
 * Purpose: Demonstrate the use of reference variables.
 * Author:  M J Leslie
 * Date:    26-Oct-98
 *
 ************************************************************************/


#include <stdio.h>

int Square(int &Val);

main()
{
    int Number=10;

    Square(Number);

    printf("Number is %d\n", Number);
}

int Square(int &Val)
{
    Val *= Val;
}


file: /Techref/language/ccpp/cppref/EXAMPLES/refvar.cc, 0KB, , updated: 1998/10/28 13:39, local time: 2024/4/23 00:58,
TOP NEW HELP FIND: 
3.142.197.212:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.massmind.org/techref/language/ccpp/cppref/EXAMPLES/refvar.cc"> language ccpp cppref EXAMPLES refvar</A>

Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to www.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .