Modular C Programming

Users questions: Compile a function, seeking any of the fourteen positive integer n, the number of reverse. This is my code, but a problem, please help look extremely grateful na! ! # Include stdio.h intx; intchange (intx1, intx2) {if (x1 = x2 1000-10*c-d)*100;a=n*1000;d=change(c,d);c=Change(c,d);d=change(b,d);b=Change(b,d);d=change(a,d);a=Ch 00 + b * 100 + c * 10 + d; printf ("% d", n);}
Experts answer:d = change (c, d); c = Change (c, d); these two lines into the d c, d then c replaced by the smaller c, d in the discovery of a large problem if you c smaller then run the first line after the c, d values ​​are the original value of c and then run a second line, the result is still the same then the original value of d is lost you can set a new variable to represent the reverse wxyz number four
  • This information provided by the users.Thanks!