0
The first thing I see is that you are using an older and harder to read iteration of code. I don't think malloc has been used for a few years. That said, it looks like we have a singly-linked list made of type wagon, with the head being a child class of wagon called train. Is this correct?
9th Feb 2021, 12:50 PM
Mark McGuire
Mark McGuire - avatar