why i m getting Runtime Error(NZEC) in my program??
this program is running successfully with my compiler.
#include<stdio.h>
int main(void)
{
long int n,k,i,temp=0;
scanf("%ld %ld",&n,&k);
while(n--)
{
scanf("%d",&i);
if (i%k==0)
{
temp++;
}
}
printf("%ld",temp);
return 0;
}
plz help me to find the problem…