strcpy not went expected in wsl
Advertisements I’m writing c code using wsl with gcc compiler.And I tried to delete a space in front of a c-string with strcpy and got a strange result. The string I tried to modify is s = {‘ ‘,’e’,’h’,’c’,’o’ ,’\0′};And I use a pointer temp to point at the "e"in the string and then I… Read More strcpy not went expected in wsl