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
What does static variable mean in c?
Why void main is used in c?
Is it possible to initialize a variable at the time it was declared?
Can you write the algorithm for Queue?
Why is c not oop?
What is a null pointer in c?
Is c object oriented?
What is use of integral promotions in c?
What is the benefit of using const for declaring constants?
What is structure in c explain with example?
Explain how do you determine whether to use a stream function or a low-level function?
Do pointers need to be initialized?
what is the basis for selection of arrays or pointers as data structure in a program
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
What is "Duff's Device"?