If I have a simple program like this:
How do I make it so that test would become "Hi!"? What am I doing wrong? THanks.Code:#include <stdio.h> #include <string.h> void change (char *t); int main (void) { char *test = "hellooo\n"; printf("%s", test); change(test); printf("%s", test); return 0; } void change (char *t) { t = "Hi!\n"; }