Please send questions to
st10@humboldt.edu .
/*--------------------------------------------------
created by smtuttle at Tue Nov 30 15:09:53 PST 2010
--------------------------------------------------*/
#include <iostream>
#include <cmath>
using namespace std;
/*--------------------------------------------------
signature: show_ptr : void -> int*
purpose: expects nothing, and produces the address
of its local integer variable
Examples: show_ptr() will return the address of
its (now defunct) local variable --
but I don't have a good way to say
what now what that will be...!
--------------------------------------------------*/
int* show_ptr()
{
int local_num;
local_num = 13;
return &local_num;
}