why is the result showing segmentation fault? : <p>The program ask the user to enter the two values, after storing the values in the pointers, it print segmentation fault and terminate.why?</p>

<pre><code>// c program to add two numbers using pointers

#include &lt;stdio.h&gt;

int main()
{
    int *ptr1, *ptr2, sum;

    printf ("Enter the two numbers:\n");
    scanf ("%d %d", ptr1, ptr2);

    sum = *ptr1 + *ptr2;
    printf("The result is %d", sum);
    return 0;
</code></pre>
