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

Unsigned char c;
for ( c=0;c!=256;c++2)
printf("%d",c);

No. of times the loop is executed ?

Answer Posted / shalabh

This will be an infinite loop as the value of unsigned char
cannot exceed 255....c++2 can be errornous..but the value
of unsigned char cannot go beyond 255

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

1882


Define macros.

1223


Write a program on swapping (100, 50)

1063


Are pointers really faster than arrays?

965


Do character constants represent numerical values?

1286


How to write a multi-statement macro?

989


Where are local variables stored in c?

982


How is a pointer variable declared?

1023


What is the deal on sprintf_s return value?

1067


What is d scanf?

1027


What is 2c dna?

1020


What math functions are available for integers? For floating point?

1077


Explain how can I pad a string to a known length?

1123


What do you mean by dynamic memory allocation in c? What functions are used?

1107


Explain the process of converting a Tree into a Binary Tree.

2608