i=20,k=0;
for(j=1;j<i;j=1+4*(i/j))
{
k+=j<10?4:3;
}
printf("%d", k);
Answer Posted / valli
k=4
Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
What are external variables in c?
Is there a way to jump out of a function or functions?
praagnovation
What are pointers? Why are they used?
Describe wild pointers in c?
What is enumerated data type in c?
What is difference between arrays and pointers?
Can you pass an entire structure to functions?
What is the use of extern in c?
What functions are used in dynamic memory allocation in c?
Do you have any idea how to compare array with pointer in c?
How is a null pointer different from a dangling pointer?
How can I write a function analogous to scanf?
What is the c language function prototype?
What is getche() function?