// Dick. cs201/lab/04 // Date Sun Apr 23 11:31:41 PDT 1995 // Teaching how functions work /* This program shows you how a functions with reference arguments work. To do this it has special tracing commands that report what it is doing to the special diagnostic output channel "cerr". It also shows that you don't have to store a value before printing it. The calculation is not very exciting.... This is not a very good style, Experiment by removing '&' characters and see what changes! But put them back afterwards! */ #include using namespace std; void odd(int& p) //Puts 1 into p, if p is odd and zero otherwise { cerr<<"\n\tEntering 'odd' with argument p equal to "<