#include #include #include char *method1(void) { static char a[4]; scanf(\"%s\\n\", a); return a; } i
Don't use the escape sequence in scanf stdio function
scanf ("%s", a);