æååã®é£çµ ãæ¸å¼ã #include <string.h> char *strcat(char *s1, const char *s2); ã説æã æååé ås1ã®ãããã«æåås2ãé£çµãã¾ãã'\0' ãé£çµããã®ã§s1ã¯ãã®åãèãã¦å¤§ããã宣è¨ãã¦ãããªããã°ãªãã¾ããã s1 ãè¶ ãã¦é£çµããå ´åã¨ãs1ã¨s2ãéãªã£ã¦ããå ´åã¯ãåä½ã¯æªå®ç¾©ã¨ãªãã¾ãã ãå¼æ°ã char *s1ãï¼ãé£çµå ã®æååé å const char *s2ãï¼ãé£çµããæåå ãæ»ãå¤ã s1ã®å¤ãã¤ã¾ãè¿å´å¤ã¯é£çµå¾ã®æååãæãã ã使ç¨ä¾ã #include <stdio.h> #include <string.h> int main(void) { char str1[30] = "ABC"; char str2[] = "123"; char *p = "abcd"; strcat(
{{#tags}}- {{label}}
{{/tags}}