Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...



 
HomeCalendarFAQSearchMemberlistUsergroupsLog inRegister
Search
 
 

Display results as :
 
Rechercher Advanced Search
Freelancer.com
Visitors
Live Trafic

Share | 
 

 Convert ASCII to Character in C

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin


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

PostSubject: Convert ASCII to Character in C   Thu 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
View user profile http://pakitworld.board-directory.net
 
Convert ASCII to Character in C
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» KTM convert ready to downsize
» Convert your Buttrest to a Backrest
» Fox might turn SPEED into News Corp's new national sports channel, convert FuelTV into SPEED
» Favourite Simpsons Character
» Suzuki Convert

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