#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 / vedansh

2
3

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if header file is included twice?

637


What is && in c programming?

663


How to create struct variables?

576


Explain what is a const pointer?

626


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

1823






What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

1771


Compare array data type to pointer data type

587


What are header files and what are its uses in C programming?

620


What are the application of c?

634


What is the use of getchar functions?

659


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

1890


State the difference between x3 and x[3].

638


What does 2n 4c mean?

691


Explain how do you list a file’s date and time?

607


Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250

1491