Could somebody help me find the cause of a Segmentation Fault error in my program?
The program compiles and works all the way until the multiplecheck function, any help would be great. The program is not finished yet and I am new to C programming so I know the program may not be the most efficient.
Code:
#include<stdio.h>
#include<math.h>
#define ARRAYSIZE 30
int getData(int[]);
void printData(int[],int);
int multipleCheck(int[],int);
int multipleCount(int[],int,int,int);