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 / sundeep

First of all the code returns compile time error....bcoz
of "c++2",and c!=256 becoz unsigned char takes just 255
bytes..........and exceeding that results in compile time
error........

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to find anagram without using string functions using only loops in c programming

3239


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

2309


What is #error and use of it?

1348


what are bit fields? What is the use of bit fields in a structure declaration?

2202


What are the valid places to have keyword “break”?

1145


Combinations of fibanocci prime series

1666


What are the advantage of c language?

1106


What happens if a header file is included twice?

1078


How can I do graphics in c?

1073


What are the properties of union in c?

1111


What is c token?

1126


Explain modulus operator. What are the restrictions of a modulus operator?

1060


Explain what are the different data types in c?

1266


What is the newline escape sequence?

1144


What is dynamic dispatch in c++?

1108