#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 / ajay
error loop is incomplete
| Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
how logic is used
Why clrscr is used in c?
write a program to generate address labels using structures?
Are bit fields portable?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
Is boolean a datatype in c?
What are the advantages of using linked list for tree construction?
What is #include stdlib h?
Can you please explain the difference between strcpy() and memcpy() function?
Can you assign a different address to an array tag?
What is local and global variable in c?
How do you convert strings to numbers in C?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
Can a variable be both constant and volatile?
How do I read the arrow keys? What about function keys?