编辑代码
C语言代码
gcc13.2
gcc7.5.0
clang-10
运行
#
include
<stdio.h>
int
main
()
{
char
*p = {
"hello"
};
scanf
(
"%s"
,p);
printf
(
"%s"
,*p);
return
0
; }