In my homework assignment for a programming paradigms class (learn only a little bit about many languages), we have been tasked with creating a student structs, creating an array of those structs, and then printing that information. Below is what I have so far.
#include <stdio.h>
struct student
{
char name;
int age;
double gpa;
char gradeLevel;
};
int main ()
{
student struct classStudents[];
}
When I run this code i get an error saying "main.c:12:3: error: ‘student’ undeclared (first use in this function)".
Please help.
student struct-->struct student