Get Email Subscription

Enter your email address:

Delivered by FeedBurner

Friday, February 5, 2010

What is the output of the following C program





#include<
stdio.h>
void main( )
{
int a=2, j=1, s=0;
for (j++, a=2; a<10; a + =3)
{
s=a*a;
printf("a=%d \t j="%d s=%d\n" , a, j, s);
}
}

























Output


a=2
j=2
s=4
a=5
j=2
s=25
a=8
j=2
s=64

Related Posts by Categories



0 comments:

About This Blog

Lorem Ipsum

  © Blogger templates Newspaper III by Ourblogtemplates.com 2008

Back to TOP