hi,
i am trying to create a function which processes an answer to a string, the return value of the function response should be a char array containing the answer.
here is my code so far:
in main:
Code:char message = "HALLO"; char *getanswer = response(message);i have already read some tutorials but i think i got it wrong :-(.Code:char *response(char message[]) { char *returnanswer = "HUHU"; return returnanswer; }
looking forwart to your answers!
thx