We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa85b6d commit 99c79c3Copy full SHA for 99c79c3
1.c
@@ -1,6 +1,11 @@
1
#include <stdio.h>
2
#include <stdlib.h>
3
+#include <string.h>
4
int main(){
- char *str ="123";
5
- printf("%s",str);
+ char str1[20]="114514";
6
+ char *str2 ="1919810";
7
+ //char str3[]= *str2;
8
+ printf("%s\n%s\n",&str1,str2);
9
+ //strcpy(str1,str3);
10
+ //printf("strcpy(str1,str3):%s\n",str3)
11
}
0 commit comments