Hi everyone. I'm trying to learn C99. In this program, which elements are non-conforming? GCC compiles and runs it, but gives me exc_bad_access on the *(p+1).
Code:#include <stdio.h> int main() { char *p = "Hello mother"; char a[] = "Hello father"; *(p+1)='u'; a[1]='u'; void* b = a; b++; printf("%s\n", p); printf("%s\n", a); return 0; }