Cognizant interview question

swap two numbers using c hash