#include<stdio.h>
main()
{int i=1;j=1;
for(;;)
{if(i>5)
break;
else
j+=1;
printf("\n%d",j)
i+=j;
}
}

Answer Posted / jitendra mahajan

2
5

Is This Answer Correct ?    74 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

934


What 'lex' does?

713


What is && in c programming?

675


What is pass by reference in c?

607


What are the disadvantages of a shell structure?

686






What are near, far and huge pointers?

643


List the different types of c tokens?

622


Why we use void main in c?

593


Why isn't any of this standardized in c? Any real program has to do some of these things.

623


Explain high-order bytes.

672


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

739


What is the value of uninitialized variable in c?

569


Explain what is gets() function?

627


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

597


c program for searching a student details among 10 student details

1652