#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
How can I prevent another program from modifying part of a file that I am modifying?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(β-β); Return 0;
how to capitalise first letter of each word in a given string?
can we change the default calling convention in c if yes than how.........?
What functions are in conio h?
Can i use βintβ data type to store the value 32768? Why?
How do you generate random numbers in C?
What are void pointers in c?
What is break in c?
Explain union. What are its advantages?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
What are the types of i/o functions?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
What is storage class?
How is a null pointer different from a dangling pointer?