Deloitte Interview Question

8) write program to convert char to int.