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



int j =15,i; for (i=1; 1<5; ++i) {printf ("%d%d ",j,i); j = j-3; }..

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

int j =15,i; for (i=1; 1<5; ++i) {printf ("%d%d ",j,i); j = j-3; }..

Answer / chelle

is j= 12?

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More C Interview Questions

why programs in c are running with out #include<stdio.h>? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

0 Answers  


what is difference between array and structure?

44 Answers   College School Exams Tests, CTS, Google, HCL, IBM, Motorola, TCS,


Unsigned char c; for ( c=0;c!=256;c++2) printf("%d",c); No. of times the loop is executed ?

8 Answers   Mascot, TCS,


how to find out the union of two character arrays?

2 Answers  


what will happen if you free a pointer twice after allocating memory dynamically ?

3 Answers   Novell,






What is output redirection?

0 Answers  


What is bin sh c?

0 Answers  


design and implement a program that reads floating-points numbers in a sentinel-controlled loop until the user terminates the program by entering zero.your program should determinate and print the smallest,largest and average of the supplied numbers.

2 Answers  


Is it fine to write void main () or main () in c?

0 Answers  


Does free set pointer to null?

0 Answers  


What do you mean by a local block?

0 Answers   InterGraph,


What is the meaning of 2d in c?

0 Answers  


Categories