Fwd: <my cse> REMOVE THIS BUG!!!!!

0 views
Skip to first unread message

Siva Sankar Siripurapu

unread,
Feb 11, 2011, 1:39:06 AM2/11/11
to fso...@googlegroups.com






----------




 

Hi ,

 

As you are Software engineer,

 

Remove this bug from code................ 
  
    
  
  
  


 


##########################################################

#include
stdio.h >
#define LAST 10 


int main()

int i, sum = 0;
 
Description: cid:image001.gif@01CBC220.1EE669F0
for ( i = 1; i < = LAST; i++ )
{
sum += i;
}


/*-for-*/
printf("sum = %d\n", sum);
return 0;
}

##########################################################


And the developer like "ME" fixes it this way

..
..
..
..
..
..
..
..
...
..
..
..
..
..
..
..
..
..
..
..
..

..
.
..
..
......
..
......
..
..
..
...
....
..

##########################################################
#include stdio.h;
#define LAST 10 


int main()

int i, sum = 0;

/*

Description: cid:image002.gif@01CBC220.1EE669F0

*/
for ( i = 1; i < = LAST; i++ )
{
sum += i;
}


/*-for-*/
printf("sum = %d\n", sum);
return 0;
}
 
##########################################################

 

 









image002.gif
image001.gif
Reply all
Reply to author
Forward
0 new messages