Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


int main()
{
unsigned char a = 0;
do {
printf("%d=%c\n",a,a);
a++;
}while(a!=0);
return 0;
} can anyone please explain me output????



int main() { unsigned char a = 0; do { printf("%d=%c\n",a,a); a++; }while(a!=0); r..

Answer / senthilkumar

unsigned char range 0-255. So.. this program prints 0-255 and also equivalent ascii character. ..program is exit after 255...becz after 255 'a' become 0.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

write a c program in such a way that if we enter the today date the output should be next day's date.

0 Answers  


Write a program in c to replace any vowel in a string with z?

0 Answers   IBS,


What is the proper way of these job Tell me about there full work

0 Answers   EDS,


how to get starting address of a running C program

3 Answers  


Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?

0 Answers   TCS,


What is d scanf?

0 Answers  


Write c-code for 5+55+555+5555+55555+555555+5555555. Output will be it's answer...

4 Answers   TCS,


What are the basic data types associated with c?

0 Answers  


Is it possible to run using programming C for Java Application?

2 Answers   NIC,


how to capitalise first letter of each word in a given string?

0 Answers  


WAP to accept first name,middle name & last name of a student display its initials?

5 Answers   AITH, NIIT,


int i=~0; uint j=(uint)i; j++; printf(“%d”,j);

1 Answers  


Categories