67 060
Assignments Done
99,3%
Successfully Done
In November 2018

Answer to Question #54907 in C for rajashree g.s

Question #54907
#include<stdio.h>
int main()
{
int i=1,j=1;
for(;;)
{
if(i>5)
break;
else
j+=i;
printf("\n %d",j);
i+=j;
}
what is the output of this program sir? they have given the value of i as 5. please explain
Expert's answer

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions