Created
March 30, 2021 07:39
-
-
Save jagdish4501/286d1f8cc40b30f8761136b355adeb8c to your computer and use it in GitHub Desktop.
Write a program to print all the ASCII values and their equivalent characters using a while loop. The ASCII values vary from 0 to 255.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
int a = 0; | |
while (a <= 225) | |
{ | |
printf("ASCII value of %d is=%c\n", a, a); | |
a++; | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment