Hexaware Technologies interview question

asked me to write me a code on swapping two numbers using pointers