see-programming is a popular blog that provides information on C programming basics, data structure, advanced unix programming, network programming, basic linux commands, interview question for freshers, video tutorials and essential softwares for students.
Sunday, 29 April 2012
strncat example in C
char *strncat(char *dest, char *src, int n);
It concatenates the first n characters of string src to string dest. And it terminates the string dest with '\0'; Returns string dest on success.