#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 / jitendra mahajan

2
5

Is This Answer Correct ?    74 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the diffrenet bettwen HTTP and internet protocol

1383


How can I automatically locate a programs configuration files in the same directory as the executable?

624


Write program to remove duplicate in an array?

595


What is function in c with example?

623


How many identifiers are there in c?

573






Differentiate between static and dynamic modeling.

611


please give me some tips for the placement in the TCS.

1627


What are the features of c languages?

622


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

1701


Write a C program to count the number of email on text

1412


Difference between malloc() and calloc() function?

650


how to construct a simulator keeping the logical boolean gates in c

1720


What are different types of variables in c?

564


Explain how can I pad a string to a known length?

642


How can I find the modification date and time of a file?

596