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


Please Help Members By Posting Answers For Below Questions

while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

743


What is the difference between array and structure in c?

572


What is typedef?

680


What is the use of structure padding in c?

564


What are the types of functions in c?

576






What is storage class?

655


What is the difference between declaring a variable by constant keyword and #define ing that variable?

2700


How can I use a preprocessorif expression to ?

602


Is exit(status) truly equivalent to returning the same status from main?

588


What is scope and lifetime of a variable in c?

578


What are void pointers in c?

575


Explain Function Pointer?

681


What is wild pointer in c with example?

578


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)

690


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

1431