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
How can I rethow can I return a sequence of random numbers which dont repeat at all?
What does the c preprocessor do?
Why isnt there a numbered, multi-level break statement to break out
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
hi, which software companys will take,if d candidate's % is jst 55%?
What is null pointer constant?
What is the difference between if else and switchstatement
What is an operator?
Can you explain the four storage classes in C?
Is printf a keyword?
Is c is a high level language?
How many types of functions are there in c?
What is a protocol in c?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34