i=20,k=0;
for(j=1;j<i;j=1+4*(i/j))
{
k+=j<10?4:3;
}
printf("%d", k);
Answer Posted / arun
4
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
What is volatile variable in c with example?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
How can a string be converted to a number?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
Can a local variable be volatile in c?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
Is a house a shell structure?
What is zero based addressing?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
Why isnt there a numbered, multi-level break statement to break out
Where is c used?
What is the most efficient way to store flag values?
What do the functions atoi(), itoa() and gcvt() do?
How many loops are there in c?