<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>program-shoshinsya</author_name>
  <author_url>https://blog.hatena.ne.jp/program-shoshinsya/</author_url>
  <blog_title>auの日記</blog_title>
  <blog_url>https://program-shoshinsya.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>C言語</anon>
  </categories>
  <description>auです。今回は「puts関数」を使用していた際に、改行しようとしていないのに改行されているので、どんな風に処理されているのだろうと思い調べてみました。 puts関数 #include &lt;stdio.h&gt; int puts(char* s) サンプル #include &lt;stdio.h&gt; #include &lt;string.h&gt; int main(void) { char c[] = &quot;Hello&quot;; char c1[5]; puts(&quot;hello&quot;); // 1 puts(&quot;world\n&quot;); // 2 puts(&quot;&quot;); // 3 puts(&quot;My name is au.&quot;); // 4 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fprogram-shoshinsya.hatenablog.com%2Fentry%2F2018%2F10%2F03%2F160212&quot; title=&quot;C言語: puts関数はNULL文字(\0)で改行される - auの日記&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>2018-10-03 16:02:12</published>
  <title>C言語: puts関数はNULL文字(\0)で改行される</title>
  <type>rich</type>
  <url>https://program-shoshinsya.hatenablog.com/entry/2018/10/03/160212</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
