ASCII stands for American Standard Code for Information Interexchange
The logic of this program is simple, print the number 1 to 255 into character format using character modifier. It will display the ASCII value of each number.
C Program to Print ASCII Value
#include <stdio.h> void main() { int i; for(i=0;i<=255;i++)
{ printf("Ascii code of %d is %c \n",i,i); } }
No comments:
Post a Comment