<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ktrito33</author_name>
  <author_url>https://blog.hatena.ne.jp/ktrito33/</author_url>
  <blog_title>怠日記</blog_title>
  <blog_url>https://nmk365.hatenablog.jp/</blog_url>
  <categories>
    <anon>C言語</anon>
  </categories>
  <description>文字列を連結するには strcat() または strncat() を使う。文字列を連結する#include char *strcat(char *dest, const char *src);引数dest連結先の文字列src連結する文字列src は dest のヌル文字の位置から連結される。文字列の長さはチェックされないので、事前にチェックを行い、オーバーフローを防ぐことが重要である。戻り値dest を指すポインタを返す。例char buf[128] = &quot;Hello&quot;; strcat(buf, &quot; World!&quot;); printf(&quot;%s\n&quot;, buf); /* → Hello Worl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnmk365.hatenablog.jp%2Fentry%2F20240407%2F1712425320&quot; title=&quot;C言語 - 文字列を連結する | strcat(), strncat() - 怠日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-04-07 02:42:00</published>
  <title>C言語 - 文字列を連結する | strcat(), strncat()</title>
  <type>rich</type>
  <url>https://nmk365.hatenablog.jp/entry/20240407/1712425320</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
