#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 / radha raman

2
3

Is This Answer Correct ?    13 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a function method?give example?

1897


What is extern variable in c with example?

518


Explain the difference between strcpy() and memcpy() function?

567


Why static is used in c?

595


What is .obj file in c?

626






When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.

1491


What is bubble sort technique in c?

561


hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

1637


write a program to print data of 5 five students with structures?

1578


Is malloc memset faster than calloc?

591


The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference

643


Why cant I open a file by its explicit path?

568


What is a structural principle?

620


what is a constant pointer in C

636


Write a program for Overriding.

647