[filename.exe]has stopped working in c programming IDE is Eclipse
<p>I'm a beginner in C programming, wrote a program for GCD in eclipse IDE as below:</p>

<pre><code>#include &lt;stdio.h&gt;
int main()
{
    int a, b, t;
    scanf("%d,%d", &amp;a, &amp;b);
    printf("GCD of %d, %d is", a, b);
    if (a &lt; b) {
        t = a;
        a = b;
        b = t;
    }
    while (!(t==0) {
        t = a;
        a = b;
        b = t % b;
    }
    printf(" %d",a);
}
</code></pre>

<p>When Build All option is used its shows <code>Info: Nothing to build for g</code> and when I try to run the program it shows Filename.exe has stopped working.</p>

<p>I have restarted IDE as well the system but same error crops up again. </p>