Home Forums C Programming How to redo the same code using structs Re: Re: How to redo the same code using structs

#3598
GWILouisaxwzkla
Participant

A little correction. It seems you are passing arrays of names , id’s and crn into the function:

so you would change your prototype to :

and access the data members like this:

my bad ………