The standard behaviour of memcpy involves copying the null terminator.
You are in the realm of undefined behaviour. Don't do this, then you don't have to misunderstand.
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: laserlight Search: Search took 0.07 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |