Regarding the second question (printing wrong name), i think you need to comment out the below line. *point = *memory; Secondly, in the for...
Separate names with a comma.