hi all
I dont know why the third line in output is nothing.
allocate memory in func and assign it to main_ptr but when return from
func what happen to that memory?
i know we can not use temp variable outside func but what happened to memory allocation using new in func?