What is the output of the following in C - program ?
#include< void main( ) { int i, j; for ( i = 1, j = 2; i < 5 , j < 3; i++, j++) { printf("i = %d \t j = %d\n", i, j); printf("i = %d\n j = %d \n", i, j); } } |
---|
Output
|
|
|
---|---|---|
i=1
|
j=2
|
|
i=1
|
|
|
j=2
|
|
|
0 comments:
Post a Comment