Sun May 25, 2008 5:23 pm
#include<iostream.h>
void main()
{
int a=5,b=4;
int &refa=a,&refb=b;
int temp;
cout<<&refa<<&refb<<endl;
temp=refa;
refa=refb;
refb=temp;
cout<<&refa<<&refb<<endl;
}
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.