Use of ampersand in C programming
<p>My code:-</p>

<pre><code>#include&lt;stdio.h&gt;
#include&lt;conio.h&gt;
void main(){
    int a,b,c;
    printf("Enter the 1st number:");
    scanf("%d",a);
    printf("Enter the 2nd number:");
    scanf("%d",b);
    c=a*b;
    printf("The value of %d * %d is %d",a,b,c);
    getch();
}
</code></pre>

<p>Now when I execute this program in Turbo C++, This gives as the output:-</p>

<pre><code>Enter the 1st number:10
Enter the 2nd number:10
The value of 1308 * 1320 is 22625
</code></pre>

<p>Why is this happening?</p>