I am working on a project using structures and when I compile my program I get a syntax error, in main before char. My code so far is:
if any one could please tell me what I am doing wrong I would greatly appreaciate it.Code:#include <stdio.h> #include <stdbool.h> #define SIZE 30 typedef struct //student records { char fName[20]; char lName[20]; int gLevel; char ssn[11]; int month; int day; int year; }STUDENT; void fillStruct(char argv,STUDENT* sarr[]); int main(int argc,char* argv[]) { STUDENT* stud[SIZE]; fillStruct(char argv,stud); return 0; }