C
clu
If the source and destination pointers happen to be the same during a
memcpy(), is that going to cause undefined behavior?
int *src = &myarr[0];
int *dst = &myarr[0];
memcpy( dst, src, sizeof(myarr) );
memcpy(), is that going to cause undefined behavior?
int *src = &myarr[0];
int *dst = &myarr[0];
memcpy( dst, src, sizeof(myarr) );