Deloitte interview question

8) write program to convert char to int.