does memcpy params have to be of the same type ?

Posted by numerical25 on Stack Overflow See other posts from Stack Overflow or by numerical25
Published on 2010-06-06T17:12:25Z Indexed on 2010/06/06 17:22 UTC
Read the original article Hit count: 134

Filed under:
|
|

I was reading that memcpy takes the number of bytes from a source location and adds it to a destination location. Does this mean that memcpy could possibly change datatype entirely ??

memcpy(DoubleOne, CharTwo, strlen(CharTwo));

considering that both values are empty still.

© Stack Overflow or respective owner

Related posts about c++

Related posts about c