Infosys Interview Question

write a c program to write numbers in reverse.