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

i=20,k=0;
for(j=1;j<i;j=1+4*(i/j))
{
k+=j<10?4:3;
}

printf("%d", k);

Answer Posted / suchita

k=5 bcoz the statement k+=j<10?4:3;
here k+ increaments the value then assign to the k

Is This Answer Correct ?    1 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the Advantages of using macro

1223


What is meant by 'bit masking'?

1442


What is difference between stdio h and conio h?

1442


Explain the ternary tree?

1082


Why does not c have an exponentiation operator?

1121


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

1552


What is pragma c?

1187


What do you understand by normalization of pointers?

1107


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

1177


What is a global variable in c?

1083


Is the exit() function same as the return statement? Explain.

1157


What is a memory leak? How to avoid it?

1427


Which built-in library function can be used to match a patter from the string?

1354


What is the g value paradox?

1253


On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area

1170