PocketHealth interview question

Questions regarding my project and C memory.