How developers fix their bug -- funny forwarded email.

Forwarding one funny email from yahoo group ~ enjoy testing - Nimesh

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

#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;
}


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

And the developer fixes it this way

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


#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;
}



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


Comments

Popular posts from this blog

Testing Shifts with agile automation #RPA #ML

Bots and What Not !!

Need > Want

Automate your everyday tedious tasks and free up time for higher-value work (with Microsoft free RPA solution)

Respect is not earned, It is given ⚘ 🙏

Popular posts from this blog

Typical Project flow with QA Loop in Jira (Atlassian)

Increase ROI in your organization with Automation Testing

Tip to create workflow in JIRA quickly

Headless Automation Testing

QuickTest Pro and Traceability Matrix

AFT (Automation Framework Team) should not take developers' false catches

Testing Priciples & Vocabulary

QA Project Checklist

How to automate test-scenarios which have Java Objects built on JMesa , JQuery, JSON and AJAX technology.