Why is it that I'm able to do the following?
char *name;
scanf("%10s", name);
printf("%s\n", name);
And the program/compiler doesn't raise a warning? I thought that since the name
pointer isn't initialized, that the compiler (or possibly runtime) would raise a warning/error saying it's trying to write to an uninitialized memory address.