#include using namespace std //pointer in parameter //myPtrAsParam1.cpp void get_num(int *); void alter_num(int *); int main() { int num; get_num(&num); cout<<"\n get_num " << num << " at" << # alter_num(&num); cout<<"\n alter_num " << num << " at" << # return 0; } void get_num(int * x) { cout<<"\n Enter an integer"; cin>> *x; } void alter_num(int * y) { *y += 20; }