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...

void main()
{
//char ch;
unsigned char ch;

clrscr();
for(ch =0;ch<= 127; ch++)
printf(" %c= %d \t ", ch, ch);
}
output?

Answer Posted / sorab aggarwal

It will print all the characters including(special characters,a to z,A to Z characters)from 0 to 127 range becoz "Ch"variable in unsigned nature so it only deals with positive range not negative ..

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have seen function declarations that look like this

1052


What is the size of structure in c?

1162


What is the correct declaration of main?

1217


What is function in c with example?

1169


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2888


What is volatile variable in c with example?

1050


Linked lists -- can you tell me how to check whether a linked list is circular?

1097


What is the difference between declaring a variable and defining a variable?

1289


What are the basic data types associated with c?

1280


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2261


Explain what happens if you free a pointer twice?

1093


What is function definition in c?

1085


State the difference between x3 and x[3].

1117


What is the purpose of main( ) in c language?

1143


swap 2 numbers without using third variable?

1141