Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...
Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeSearchLatest imagesLog inRegister
Search
 
 

Display results as :
 
Rechercher Advanced Search
Freelancer.com
Visitors
Live Trafic
Convert ASCII to Character in C Pageviews=1

 

 Convert ASCII to Character in C

Go down 
AuthorMessage
Admin
Admin



Posts : 216
Join date : 2011-06-17
Location : Rawalpindi

Convert ASCII to Character in C Empty
PostSubject: Convert ASCII to Character in C   Convert ASCII to Character in C EmptyThu Oct 27, 2011 5:33 am



Convert ASCII to Character in C





#include
#include
void main(void)
{
clrscr();
int a,b;
a=0;
b=1;
printf("Please enter a value greater than 256 to exit!\n\n");
while(b<=256)
{
if(a>256)
break;
else
printf("Please Enter any Decimal value to see its Character value?");
scanf("%d",&a);
printf("%d=%c\n\n",a,a);
b++;
}
printf("\nPress any key to EXIT...");
getche();
}

Back to top Go down
https://pakitworld.board-directory.net
 
Convert ASCII to Character in C
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
 :: Programming :: C & C++-
Jump to: