Declaration:
void strncpy(char dest[], char src[], int n, int dest_index=0, int src_index=0);
Description
The strncpy function copies the maximum of n characters from line scrn characters in line src, then the zero characters will be added to line dest to extend it up to the size of n.
Returned value
None.
|