char * my_strncpy ( char * dest , char const * src , int n ) ; code example Example: strncpy c char *strncpy(char *dest, const char *src, size_t n)