Originally Posted by shabbir
Try giving good titles for better responses.
Regarding the second question (printing wrong name), i think you need to comment out the below line.

*point = *memory;

Secondly, in the for loop you should use i=0 instead of i==0 (may be typing error).
One more thing is clear_array function should not return anything. You should use void clear_array for it.