please dont rip this site

language ccpp cppref EXAMPLES refvar

/ ************************************************************************
 *
 * 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 12:39, local time: 2012/2/10 16:04,
TOP NEW HELP FIND: 
38.107.179.230:LOG IN

 ©2012 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.piclist.com/techref/language/ccpp/cppref/EXAMPLES/refvar.cc"> language ccpp cppref EXAMPLES refvar</A>

Did you find what you needed?

 
Check out Peter Cousens EXCELLENT
Calculator
7-seg LED chars, port values, resistor color codes and common values, ohms law, wavelength / frequency, RMS and Peak, max value for x bits, etc...
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .