Thursday, September 10, 2009

some discovery in c language

The following the the same:

&buf[strlen(buf)] can be written as
strchr(buf, 0); // simple