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

What does static variable mean in c?

831


Why void main is used in c?

761


Is it possible to initialize a variable at the time it was declared?

968


Can you write the algorithm for Queue?

1732


Why is c not oop?

711






What is a null pointer in c?

811


Is c object oriented?

701


What is use of integral promotions in c?

855


What is the benefit of using const for declaring constants?

776


What is structure in c explain with example?

833


Explain how do you determine whether to use a stream function or a low-level function?

808


Do pointers need to be initialized?

768


what is the basis for selection of arrays or pointers as data structure in a program

4019


count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array

863


What is "Duff's Device"?

885