મારા વિચારો, મારી ભાષામાં!

~: ગુજરાતીમાં કાર્તિક મિસ્ત્રીનાં વિચારો :~

બગનો ઉપાય

with 2 comments

* તો આ છે તે બગનો ઉપાય.

#include < stdio.h >
#define LAST 10

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

બગ થઇ ગયું ફિક્સ // Fixed. Doesn’t move anymore.

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

printf(“sum = %d\n”, sum);
return 0;
}

Written by Kartik Mistry

January 10, 2008 at 11:01 AM

2 Responses

Subscribe to comments with RSS.

  1. The bug is not moving but it is still there. How can you remove it? Just delete that dynamic image! Quite cute PC.

    jignesh

    January 10, 2008 at 4:08 PM

  2. [...] ચાલો ફરી એ દિવસોની યાદો સાથે બગ્સને સોલ્વ કરવા મંડી પડીએ .. નહિ તો મેનેજર મને જ [...]


Leave a Reply