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

k=4

Is This Answer Correct ?    21 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to implement queue.

1099


What is wrong in this statement?

1125


What is the benefit of using #define to declare a constant?

1077


What are the advantages of using macro in c language?

1107


Why we use stdio h in c?

1015


Do you know null pointer?

1011


Can a variable be both static and volatile in c?

1019


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

1376


Explain what is the benefit of using const for declaring constants?

1012


Is null valid for pointers to functions?

1157


what does static variable mean?

1088


Explain how can I pad a string to a known length?

1181


What is a structure and why it is used?

1197


Distinguish between actual and formal arguments.

1061


if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above

1146