I am very new to C programming.Can you please let me know where my error is and why is that so?
With the program on (Pelles C) given below Im finding an error viz.
POLINK: fatal error: Access is denied. *** Error code: 1 ***
#include<stdio.h>
int main(void)
{
int n,sum;
printf("Enter the value of n(<=1000):");
scanf("%d",&n);
sum=n*(n+1)/2;
printf("The sum is=%d \n",sum);
return 0;
}