Hey so this is program I have been working on for school and I keep getting a violation error at the first fscanf for some reason. The weird thing is the program ran fine on my school computers but at home I keep getting a violation error. When I ran the program step by step the violation error occurred at " fscanf (in, "%d", &num1);", so I assume the program is having trouble scanning the file for integer numbers or something with scanning the file but I can't seem to make this error go away can anyone help with this? Help would be greatly appreciated, thank you .Code:#include <stdio.h> int function(int num1,int num2) { int output=0; if (num1==num2) output=1; return(output); } int main(void) { FILE*in; int x[25] , y[25], i; int num1, num2; in = fopen("data2.txt", "r"); for (i=0; i<25; ++i) { fscanf (in, "%d", &num1); x[i] = num1; } for (i=0; i<25; ++i) { fscanf (in, "%d", &num2); y[i] = num2; } for (i=0; i<25; ++i) { if(function(x[i],y[i])) printf("The value %d is the same in both data sets at %d subscipt.\n",x[i],i); } fclose(in); return(0); }