Help to Remove This Bug from My Code
/* a simple C program */
#include stdio.h;
#define LAST 10
int main()
{
int i, sum = 0;
for ( i = 1; i < = LAST; i++ )
{
sum += i;
}
/*-for-*/
printf("sum = %d\n", sum);
return 0;
}
Labels: Funny
Latest News in our day to day in Indian life
/* a simple C program */
#include stdio.h;
#define LAST 10
int main()
{
int i, sum = 0;
for ( i = 1; i < = LAST; i++ )
{
sum += i;
}
/*-for-*/
printf("sum = %d\n", sum);
return 0;
}
Labels: Funny
0 Comments:
Post a Comment
<< Home