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



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. The above code is not for storing values it return
View Tutorial          By: vinoj at 2010-04-28 15:58:47

2. plz,sent me a sample j2me programm for chnging col
View Tutorial          By: su at 2007-12-19 21:54:30

3. hi..... i m newly in java ,i want to learn about t
View Tutorial          By: ashwini at 2012-08-09 08:01:34

4. Hi ngocanh, You are right. The client has to be in
View Tutorial          By: Emiley J at 2013-07-14 05:51:35

5. good site for buggners
View Tutorial          By: sivannaadhbaazi karampudi at 2011-12-01 15:37:55

6. nice
View Tutorial          By: udhay at 2011-04-01 02:48:25

7. Hi Sir...
sir i am a student and I am work

View Tutorial          By: Sanzu at 2013-02-12 09:13:01

8. There are so many posts about the same problem (i
View Tutorial          By: Matt at 2010-04-30 09:52:16

9. thxxx :) very simple explanation
View Tutorial          By: mohamed at 2012-09-09 04:16:06

10. tnx man that was short and well explained...
View Tutorial          By: jsf noob at 2012-02-02 13:24:12