Files
BasicsOfComputerSoftwareEng…/POP/11/Optional01.c
2023-02-21 10:56:54 +08:00

13 lines
220 B
C

#include <stdio.h>
char *a = "HAPPYNEWYEAR";
char b[] = "happynewyear";
int main() {
int i = 8;
printf("%c%c%s%s\n", *a, b[0], b+5, &a[5]);
while(*(a+i)) {
putchar(*(a+(i++)));
}
return 0;
}