for a scanf request to set N. Pretty stupid of me, sorry again.Code:printf("Enter %d grades: ", N);
In this case, you don't need to use malloc or a parameter to findHighest(). #defines are global, you can refer to them directly everywhere. So:
should be the prototype, and you can use N inside that function.Code:float findHighest(float grades[N]);
That's why I had all that stuff about getting a value from the user...I have to pay better attention...