Get Email Subscription

Enter your email address:

Delivered by FeedBurner

Tuesday, February 9, 2010

What is the output of following C program ?



#include<stdio.h>
void main( )
{
int i, j;
for ( i = 1, j = 2; i < 5, j < 5; i++, j++)
{
printf("i = %d\t j = %d\n", i, j);
printf("i = %d\t j = %d\n", i, j);
}
}


































Output

i=1
j=2
i=1

j=2

i=2
j=3
i=2

j=3

i=3
j=4
i=3

j=4



Related Posts by Categories



0 comments:

About This Blog

Lorem Ipsum

  © Blogger templates Newspaper III by Ourblogtemplates.com 2008

Back to TOP