int j =15,i;
for (i=1; 1<5; ++i)
{printf ("%d%d
",j,i);
j = j-3;
}
Answer Posted / 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 |
Post New Answer View All Answers
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
What is the difference between array and structure in c?
What is typedef?
What is the use of structure padding in c?
What are the types of functions in c?
What is storage class?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
How can I use a preprocessorif expression to ?
Is exit(status) truly equivalent to returning the same status from main?
What is scope and lifetime of a variable in c?
What are void pointers in c?
Explain Function Pointer?
What is wild pointer in c with example?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9