i=20,k=0;
for(j=1;j<i;j=1+4*(i/j))
{
k+=j<10?4:3;
}
printf("%d", k);
Answer Posted / vignesh1988i
k=4;;;;;
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
What extern c means?
What is optimization in c?
What are preprocessor directives in c?
what is a function method?give example?
How can you call a function, given its name as a string?
Why doesnt this code work?
Is c is a low level language?
Write a program to check palindrome number in c programming?
How do you override a defined macro?
Explain the difference between call by value and call by reference in c language?
What are variables c?
Why is not a pointer null after calling free?
What do you mean by scope of a variable in c?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
How can I do peek and poke in c?