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

What is the use of void pointer and null pointer in c language?

1120


Do you know the difference between malloc() and calloc() function?

1058


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

1206


Explain the priority queues?

1073


`write a program to display the recomended action depends on a color of trafic light using nested if statments

2130


What’s a signal? Explain what do I use signals for?

1105


Write a program to check whether a number is prime or not using c?

1058


What is the use of f in c?

976


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

1119


Explain how does flowchart help in writing a program?

1113


What is c language & why it is used?

1105


Write a program to reverse a linked list in c.

1126


What are header files in c programming?

1129


what type of questions arrive in interview over c programming?

2029


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

1247