C program to print ASCII values of all digits using goto statement
We have to print ASCII values of all digits along with digits (in character) using C program.
In this program, we are using a variable named count which will be initialized by '0' and with the help of label, goto statement and condition; we are printing the ASCII values of all digits.
Program
Output
This is a way, by which we can print ASCII values of all digits, please write through comment, if you have any doubt?
need an explanation for this answer? contact us directly to get an explanation for this answer