How will developer Fix the bug !!!!!
Wall Script
Follow Me:
Wednesday, August 20, 2008

How will developer Fix the bug !!!!!


#include ;
#define LAST 10;

int main()
{
int i, sum = 0;







for ( i = 1; i < = LAST; i++ )
{
sum += i;
}
/*-for-*/
printf("sum = %dn", sum);
return 0;
}

And the developer fixes it this way



#include ;
#define LAST 10 ;

int main()
{
int i, sum = 0;

/*






*/

for ( i = 1; i < = LAST; i++ )
{
sum += i;
}
/*-for-*/
printf("sum = %dn", sum);
return 0;
}
Was this article helpful?
Thanks! Your feedback helps us to improve 9lessons.info


2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. That was really funny. Whahahahaha. As if the bug animation could be removed by putting /* & */ as if it was like commented. whahahahahaha

    ReplyDelete

Make in India