I know how to pass structures by using pointers to functions. Is it possible to pass a table or a particular row from a table by address using pointers?
say i have something like
and i want to move it to the function. what would the prototype and function header lines look like? How would it look like in the main module when the function is called?Code:STRUCT_CODE lavalamp ;
also, what if you made a function that took a member out of lavalamp (which is of type STRUCT_CODE) called beads and multiplied it by two and returned the member changed?