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
compilation error i is not declared as int
| Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
State the difference between x3 and x[3].
What is difference between class and structure?
What are volatile variables in c?
What is the importance of c in your views?
What is the difference between strcpy() and memcpy() function in c programming?
Are c and c++ the same?
Can a pointer be volatile in c?
How can I recover the file name given an open stream?
What is the best way of making my program efficient?
What is a function simple definition?
What are the types of type qualifiers in c?
Give the rules for variable declaration?
How many keywords are there in c?
Is c is a procedural language?
What does s c mean in text?