program to convert ASCII code to Character
#include
void main(){int j;char c;a:clrscr();printf("enter the ACII code (0 to 127) : ");scanf("%d",&j);if(j>127){printf("u hav entered wrong code");goto a;}else{c = j;printf("character corresponding to %d is %c",j,c);}}
0 comments:
Post a Comment