If you change your declaration for b to: char *b = "Arf!"; you should have no further problems. You apparently wanted a pointer to a character string, you were returning the whole string, not a pointer to it. Some compilers are VERY picky! Good luck, Russ