>>892 (4)
#include <stdio.h>
#define toupper(c) if (c >= 'a' && c <= 'z') c = c - 'a' + 'A';
void upper(char *p_data) { while (*p_data != '\0') { toupper(*p_data); p_data++; } }
void main() { char str[] = "apple"; upper(str); puts(str); }