📄 scat.c
字号:
/*-*//******************************************************** * Question: * * Why does the following program print * * "John @#$24" instead of John Doe? * * (Your results may vary.) * ********************************************************//*+*/#include <stdio.h>#include <string.h>char first[100]; /* First name of the person */char last[100]; /* Last name of the person *//* First and last name combined */char full[100];int main() { strcpy(first, "John"); strcpy(last, "Doe"); strcpy(full, first); strcat(full, ' '); strcat(full, last); printf("The name is %s\n", full); return (0);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -