Programming Tutorials

Comment on Tutorial - Using memset(), memcpy(), and memmove() in C By Emiley J



Comment Added by : Mithun

Comment Added at : 2010-07-05 02:56:27

Comment on Tutorial : Using memset(), memcpy(), and memmove() in C By Emiley J
message1[] before memset(): Four score and seven years ago ...
message1[] after memset(): Four @@@@@@@@@@seven years ago ...

Original message: abcdefghijklmnopqrstuvwxyz
After memcpy() without overlap: abcdqrstuvwxyzopqrstuvwxyz
After memcpy() with overlap: abcdefefefijijmnqrstuvwxyz

Original message: abcdefghijklmnopqrstuvwxyz
After memmove() without overlap: abcdqrstuvwxyzopqrstuvwxyz
After memmove() with overlap: abcdefefghijklmnqrstuvwxyz


View Tutorial