Jokes
Can anyone fix the bug in this code?
You are at root » home » jokes » Can anyone fix the bug in this code?
» Submitted by Venumadhav Pentam, my colleague in Verizon
#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;
}




