DEV Community

Discussion on: Awestruck by C Structs

Collapse
 
jjant profile image
Julian Antonielli

Just a small correction, in your destroyStudent function, doing s = NULL won't do anything. If you wanted to actually do that you'll need to pass a double pointer (Student** s).