i=20,k=0;
for(j=1;j<i;j=1+4*(i/j))
{
k+=j<10?4:3;
}
printf("%d", k);
Answer Posted / vishal bhardwaj
ans is : 4
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Where in memory are my variables stored?
What Is The Difference Between Null And Void Pointer?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
If I have a char * variable pointing to the name of a function ..
How can I find the modification date and time of a file?
Should a function contain a return statement if it does not return a value?
What is equivalent to ++i+++j?
Write a simple code fragment that will check if a number is positive or negative.
Combinations of fibanocci prime series
What is static function in c?
What header files do I need in order to define the standard library functions I use?
What is the deal on sprintf_s return value?
How can a process change an environment variable in its caller?
What is atoi and atof in c?
Why we use void main in c?