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 is the collection of communication lines and routers called?

1130


How can I write functions that take a variable number of arguments?

1139


What are near, far and huge pointers?

1064


What is c token?

1080


What is selection sort in c?

1111


to find the closest pair

2326


What is formal argument?

1146


What is a const pointer?

1134


What are header files and explain what are its uses in c programming?

1136


c language interview questions & answer

1970


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

1130


Why void main is used in c?

1062


Simplify the program segment if X = B then C ← true else C ← false

3026


What is the scope of an external variable in c?

1053


What does the function toupper() do?

1141