<- RETURN

The idea is to use a variable whose size is double of the int's. In most of the cases (maybe in all), double is double sized of int.


double x;
scanf("%d%d",(int*)(&x), ((int*)(&x)+1));
printf("%d",*(int*)(&x) + *((int*)(&x)+1));
(of course this depends on the layout used by the architecture. If the above one does not work, the following should)

double x;
scanf("%d%d",(int*)(&x), ((int*)(&x)-1));
printf("%d",*(int*)(&x) + *((int*)(&x)-1));