Following up on Anduril's suggestion that your code is rather poorly thought out (no offense intended)...
Would it not be easier to design a struct (one per student) and work on that instead of...
Type: Posts; User: CommonTater
Following up on Anduril's suggestion that your code is rather poorly thought out (no offense intended)...
Would it not be easier to design a struct (one per student) and work on that instead of...
I take it you've not yet figured out that C cannot return arrays from functions.
Yeah I know ... WTF??? ... but that's how it is.
For example...
int* MyFunction(int info)
{
int x;