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

Why header file is used in c?

1024


Is there a way to jump out of a function or functions?

1028


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

16590


Can we compile a program without main() function?

1076


Is c language still used?

933


How can you access memory located at a certain address?

1062


Write a program to check prime number in c programming?

1029


Explain can the sizeof operator be used to tell the size of an array passed to a function?

1016


What is the use of a ‘’ character?

1027


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

1885


What are data structures in c and how to use them?

1094


Explain can static variables be declared in a header file?

1104


what value is returned to operating system after program execution?

2062


What are examples of structures?

1027


Can we add pointers together?

1000