Cognizant interview question

write a program to reverse a digit?

Cognizant Interview Question: write a program to reverse a digit? | Glassdoor