#include "stdio.h"
//#define string char* //只能替换,定义string str1 = "hello",str2 = "world",则会报错
typedef char* string; //给类型起别名,且定义string str1 = "hello",str2 = "world"不会出错
int main(void)
{
string str1 = "hello",str2 = "world";
printf("%s\n",str1);
printf("%s\n",str2);
return 0;
}