#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

Are there constructors in c?

584


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

1838


Can one function call another?

616


What is the difference between array and linked list in c?

587


i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me

1470






What are inbuilt functions in c?

551


what value is returned to operating system after program execution?

1589


What does the characters “r” and “w” mean when writing programs that will make use of files?

841


Explain 'bit masking'?

638


How can I implement sets or arrays of bits?

594


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

1623


Why do we use null pointer?

597


What is the mean of function?

640


Differentiate between the = symbol and == symbol?

699


Can you pass an entire structure to functions?

684