1/2. Write a function which calls this function, prints out all data returned by it, and makes sure there are no memory leaks.
Do NOT(!) use “C++” syntax. Use good programming practice, as much as these instructions allow.