Hi,
Below program gave me many errors and I can't figure out why.
How to access to a record field for above program?Code:typedef struct { int ID; float exam1; float exam2; } studentRecord; studentRecord stuRecordArr[40]; int main() { int i; for (i =0; i<40; i++) { stuRecordArr[i].studentRecord.ID = 0; /* gave errors, why?*/ } return 0; }
Thank you for your help.
CDumbie