Hi, I need to remove 4 chars at begin of char array. For example, I want to remove "ABCD". I try:
char source = "ABCDEFGHIJ"; char destination; // char * strncpy ( char * destination, const char * source, size_t num ); /* partial copy (only 5 chars): */ strncpy ( destination, source, 3 );
But I do not know how to do it. I found strncpy, but num param means 0..num.