第10课。

This commit is contained in:
unlockable
2022-11-25 23:41:25 +08:00
parent 605137a437
commit a37a95fbed
7 changed files with 188 additions and 0 deletions

17
10/test.c Normal file
View File

@@ -0,0 +1,17 @@
#include <stdio.h>
int main() {
char c[10];
static char b[10];
int i = 0;
scanf("%s", c);
scanf("%s", b);
for (i = 0; i < 10; i++) {
printf("%c", c[i]);
}
printf("\n--------\n");
printf("%s\n", b);
printf("%s\n", c);
printf("%c%c\n", 23, 49);
return 0;
}