编程题:用指针变量输出字符串
#include<stdio.h>
void main()
{ char *string="Hello";
printf("%s\n",string);
}
字符串指针变量的介绍:
运行结果:
转载于:https://blog.51cto.com/c10086/1413783
编程题:用指针变量输出字符串
#include<stdio.h>
void main()
{ char *string="Hello";
printf("%s\n",string);
}
字符串指针变量的介绍:
运行结果:
转载于:https://blog.51cto.com/c10086/1413783