最近在写某公司的九二共识专案
但是一直出现compiler error 有人知道哪边写错吗
==============Code Start=====================
char China[] = "People's Republic Of China";
char KMT[] = "92共识 一中同表";
char General[] = "中华人民共和国国歌";
char NinePointTwo[] = "中国人";
int Taiwan() {
char China[] = "Republic Of China";
char KMT[] = "92共识 一中各表";
char General[] = "要尊严 反污名";
char NinePointTwo[] = "台湾人";
printf("In Taiwan, %s is China", China);
printf("In Taiwan, KMT said %s", KMT);
printf("In Taiwan, General 说 %s", General);
printf("In Taiwan, NinePointTwo 说我是 %s", NinePointTwo);
}
int main(){
Taiwan();
printf("The world see %s is China", China);
printf("The world see KMT said %s", KMT);
printf("The world see General 唱 %s", General);
printf("The world see NinePointTwo 说我是 %s", NinePointTwo);
return 0;
}
==============Code End======================
怀疑local variable是不是写错了
有人可以帮我除错吗
PS:我是用美国compiler来编译的 一直过不了