>>257
はにゃ?でも
#include <stdio.h>
void strout(char a[]);

main(){
char st[10]="ABCabc123";
strout(st);
}

void strout(char a[]){
int i;
i=0;
while(a[i]){
a[i]=toupper(a[i]);
putchar(a[i]);
++i;
}
putchar('\n');
}
とすると正常に出力されるよ?
これも文字列リテラルst[0]を書き換えてるんじゃないの?