Giusto per vedere un'implementazione alternativa:
codice:void reverseprint(const char * str) { if(*str) { reverseprint(str+1); putchar(*str); } }
Giusto per vedere un'implementazione alternativa:
codice:void reverseprint(const char * str) { if(*str) { reverseprint(str+1); putchar(*str); } }
Amaro C++, il gusto pieno dell'undefined behavior.