//char arg[] = "This \ is / a \message for you"; //this works
Are you are saying that this piece of code gives the error? If so it is because C does not allow you to assign strings. Although I...
Type: Posts; User: camel-man
//char arg[] = "This \ is / a \message for you"; //this works
Are you are saying that this piece of code gives the error? If so it is because C does not allow you to assign strings. Although I...
Well one thing I noticed is that char *result is not pointing to any valid memory. You need to allocate some memory before you start trying to assign values to it.