سلام
این هم برنامه چاپ معکوس عدد در ++C با آرگومان های اضافه !

#include<iostream.h>
#include<conio.h>
void Reverse1(int &);
void Reverse2(int *);
main(){
int n,p;
cout<<"enter a number for Reverse argoman & :";
cin>>n;
cout<<"\n"<<"enter a number for Reverse argoman * :";
cin>>p;
Reverse1(n);
cout<<"Reverse number With argoman & :"<<n;
Reverse2(&p);
cout<<"\n"<<"Reverse number With argoman * :"<<p;
getch();
return 0;
}
void Reverse1(int &m){
int i=0,x[20],y=0,f=1;
while(m>0){
x[i]=m%10;
i++;
m/=10;}
for(int j=i-1;j>=0;j--){
y=y+x[j]*f;
f*=10;
}
m=y;
}
void Reverse2(int *m2){
int i=0,x[20],y=0,f=1;
while(*m2>0){
x[i]=*m2%10;
i++;
*m2/=10;}
for(int j=i-1;j>=0;j--){
y=y+x[j]*f;
f*=10;
}
*m2=y;
}