i'm passing an array of structures to a function for reading values into it, the prototype is
void read(structure *record);
In main() i create the array of a structure by using
structure record[100];
When i make the call to the function, i get a general protection fault or a blue screen error. any ideas as to why this is happening? here is my call
read(record);