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

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.