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

Explain how can you determine the size of an allocated portion of memory?

1150


Do you know what are bitwise shift operators in c programming?

1151


What is %s and %d in c?

1104


What's the best way of making my program efficient?

1150


How can my program discover the complete pathname to the executable from which it was invoked?

1117


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

1296


When should a type cast be used?

1061


How many identifiers are there in c?

1080


Is it possible to pass an entire structure to functions?

1053


Is int a keyword in c?

1031


Are comments included during the compilation stage and placed in the EXE file as well?

1126


Explain about block scope in c?

1141


Explain the difference between exit() and _exit() function?

1209


What are the 5 elements of structure?

1127


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

1168