#include<stdio.h> void main() { char *p="nyks"; p[2]='n'; printf("%s",p); }
这会导致SEGMENTATION FAULT崩溃.有人可以解释原因吗?
c
c ×1