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


Please Help Members By Posting Answers For Below Questions

Where in memory are my variables stored?

631


What Is The Difference Between Null And Void Pointer?

636


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5462


If I have a char * variable pointing to the name of a function ..

646


How can I find the modification date and time of a file?

596






Should a function contain a return statement if it does not return a value?

592


What is equivalent to ++i+++j?

641


Write a simple code fragment that will check if a number is positive or negative.

704


Combinations of fibanocci prime series

1105


What is static function in c?

627


What header files do I need in order to define the standard library functions I use?

535


What is the deal on sprintf_s return value?

639


How can a process change an environment variable in its caller?

648


What is atoi and atof in c?

612


Why we use void main in c?

590