Chapter
To String Functions
From ComputerScienceOne by Dr Chris Bourke
Concepts
- How can you create a deep copy of a Student structure?
"23. Structures function.\n\n/**\n\n* This function creates a new, deep copy of a Student\n\n* structure.\n\n*/\n\nStudent * copyStudent(const Student *s) {\n\nreturn createStudent(s->firstName, s->la
- How can you convert a Student structure into a string?
"23.4.2. To String Functions\n\nAnother common operation with structures is to output their data as a human-readable string representation. We could write a function that output a structure’s member v