Not sure if this is an easy one but how do I copy an character array with backslashes to another? Strcpy behaves very strange.
As in the example - ascstr2 prints all weird chars.
ascstr is \x0
ascstr2 is øF
#include <stdio.h>
int main(){
char ascstr[20];
char ascstr2[20];
char *p...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.