Why memcpy() fails copying elements of an array in the same array but with an offset

前端 未结 0 631
悲哀的现实
悲哀的现实 2020-12-07 03:32

I\'m trying to copy the content of an array inside itself but with an offset (or from an offset). For example:

int main(void) {
    char a[4] = { \'a\', \'b\'         


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