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
What are the types of c language?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
Is c procedural or functional?
Why is c called "mother" language?
What do you know about the use of bit field?
What is scanf () in c?
Differentiate between #include<...> and #include '...'
Explain indirection?
What is wrong with this declaration?
What are the types of data types and explain?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
What is the correct code to have following output in c using nested for loop?
What are the parts of c program?
What is scope rule of function in c?
How are structure passing and returning implemented?