int y = strlen(target);
sscanf(p,"%*s",y,buffer);
Why does the above code result in warning: data argument not used by format string ??
Compiled with Apple clang version 11.0.0 (clang-1100.0.33.17).
Aim : To get the same number of characters as in a string target into the string buffer, where p is a char * pointing to some element of a string.