📄 strcat.c
字号:
/* The strcat() function. */
#include <stdio.h>
#include <string.h>
char str1[27] = "a";
char str2[2];
int main( void )
{
int n;
/* Put a null character at the end of str2[]. */
str2[1] = '\0';
for (n = 98; n< 123; n++)
{
str2[0] = n;
strcat(str1, str2);
puts(str1);
}
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -