Q.) Write a C- program to print the ASCII table.
Sol)
#include<stdio.h>
int main()
{
int i ;
for(i=0;i<=255;i++)
{
printf("ASCII values of character %c: %d \n,i,i") ;
}
return 0 ;
}
No comments:
Post a Comment