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

Is main is a keyword in c?

1178


How do I round numbers?

1057


What is structure pointer in c?

1096


How will you delete a node in DLL?

1341


What is a file descriptor in c?

1200


What is the use of c language in real life?

1075


What is volatile keyword in c?

1092


What is modifier & how many types of modifiers available in c?

1074


What is void main () in c?

1254


What is sizeof int?

1155


What is wrong with this program statement?

1088


Is c is a middle level language?

1127


What is s in c?

1099


Simplify the program segment if X = B then C ← true else C ← false

3069


how can f be used for both float and double arguments in printf? Are not they different types?

1131