We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f648fc commit b0b68a0Copy full SHA for b0b68a0
1 file changed
C语言中可以使用非const的char指针指向常量区.c
@@ -0,0 +1,7 @@
1
+#include <stdio.h>
2
+
3
+int main(){
4
+ char * s = "hello world";
5
+ s[1] = 'X';
6
+ return 0;
7
+}
0 commit comments