#include int sahe(int *,int *); int main(int argc, char *argv[]) { int x,y,z; printf("Duzbucaqlinin enini daxil edin\n"); scanf("%d",&x); printf("Duzbucaqlinin uzunlugunu daxil edin\n"); scanf("%d",&y); z=sahe(&x,&y); printf("Duzbucaqlinin sahesi =%d\n",z); printf("x=%d, y=%d\n",x,y); return 0; } int sahe(int *t1, int *t2) { int sh; sh=(*t1)*(*t2); *t1=1; *t2=2; return sh; }