Can someone tell me why, this won't work. No messages when compiled.Code:#include <stdio.h> void alphabet(char *); int main(void) { alphabet("a"); system("PAUSE"); return 0; } void alphabet(char *p) { if(*p <= 'z') { putchar(*p); (*p)++; alphabet(p); } }
I this, its because you can't change a string from the program's string table if that makes any sense.