#include<stdio.h>
main()
{int i=1;j=1;
for(;;)
{if(i>5)
break;
else
j+=1;
printf("\n%d",j)
i+=j;
}
}
Answers were Sorted based on User's Feedback
Answer / sourav basu
1 1
print statement is printing 'j', not 'i'. and the for loop works on the basis of value of 'i'..
tested and verified answer on gcc compiler
| Is This Answer Correct ? | 2 Yes | 5 No |
can you explain in brief what is "r+" mode in a file... i know that it si used to read and modify rhe existing content.... but explalanation about the file pointer in "r+" mode i wann to know???????????
What are the advantage of c language?
why u join this call center?
what are two categories of clint-server application development ?
Do variables need to be initialized?
What does %c do in c?
how we can say java is platform independent, while we require JVM for that particular Operating System?
Can you return null in c?
What are structures and unions? State differencves between them.
how to find the sizof of any datatype using bit manipulations
Why do we use c for the speed of light?
What is I ++ in c programming?