#include<iostream> #include<conio.h> using namespace std; void AAA (int* & x,int *y) { cout<<y<<endl; cout<<x<<endl; } void main() { int x=5; int *y=&x; AAA(y,y); getch(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)