Tata Interview Question

Write a program to reverse a number using pointers in C