help with alarm code

char* msg

Except msg doesn't point to anything. If it was written like this:

 char msg[20]

msg now points to a char that has 19 additional slots available for use.