Program crashed while trying to delete[] a dynamically allocated array

前端 未结 0 1410
迷失自我
迷失自我 2021-02-05 12:31

During one of my recent interviews, I was asked to implement and test a user defined version of memcpy() function in C++.

My code was something like this:

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题