sorry for these basic question but i’m a bit confuse in C.
i can use strncpy();
but only the first x char in the string
now i would like to copy a substring, x char from a start point.
some like that :
var chaine=“toto est petit”
souschaine = chaine.substr(5,3);
i’m a but confused on pointers vs array
help will be greatly appreciate :-*