Sunday, August 7, 2011

Removing ending characters of a String in C?

Just copy the first 511 chars and put the null terminator in the last position, ie, index of 511 since indices start at 0.

No comments:

Post a Comment