Hi,
I'm asking this question out of curiosity rather than neccessity:
E.g:
------
//Vars
char foo[20] = "abcd";
char *bar = "ghjk";
a) scanf("%s",bar); /*doesn't work; compiles but crashes (using g++) */
b) strcat("qwerty",foo); /* ditto, although foo shouldn't change */
c)...