int j =15,i;
for (i=1; 1<5; ++i)
{printf ("%d%d
",j,i);
j = j-3;
}
Answers were Sorted based on User's Feedback
Answer / arun
Infinite Loop....Loop does not end...Because condition 1<5 is always True then the answer like this..,
151
122
93
64
35
06
-37
.
.
.
| Is This Answer Correct ? | 6 Yes | 0 No |
How can I call fortran?
what is the output of the following program? #include<stdio.h> void main() { float x=1.1; while(x==1.1) { printf("\n%f",x); x=x-0.1; } }
sum of two integers values only other then integer it should print invalid input.
How do I determine whether a character is numeric, alphabetic, and so on?
main() { enum _tag{ left=10, right, front=100, back}; printf("%d, %d, %d, %d", left, right, front, back); }
if the total selling price of 15 items and the total profit earned on them is input through the keyboard, write a program to find the cost price of one of the item
Explain union. What are its advantages?
What is the output of the following progarm? #include<stdio.h> main( ) { int x,y=10; x=4; y=fact(x); printf(ā%d\nā,y); } unsigned int fact(int x) { return(x*fact(x-1)); } A. 24 B. 10 C. 4 D. none
Write a program to find whether the given number is prime or not?
What is struct node in c?
What are structures and unions? State differencves between them.
Is c weakly typed?