Monday, December 26, 2011
12:02 AM

C Program to Convert From ASCII code to Character



 program to convert ASCII code to Character


#include#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