C program to find ascii value of a number

C program to find ascii value of a number

Output:

Enter a number: 1234
ASCII values of each digit in the number is:
49 50 51 52

Implementation: