#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
What is the value of c?
When was c language developed?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
What is structure pointer in c?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
what is bit rate & baud rate? plz give wave forms
What is a static variable in c?
Why malloc is faster than calloc?
Is stack a keyword in c?
Explain the difference between ++u and u++?
Explain how can you tell whether two strings are the same?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
What are the 4 types of organizational structures?
What is c language in simple words?
How is = symbol different from == symbol in c programming?