<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shammer</author_name>
  <author_url>https://blog.hatena.ne.jp/shammer/</author_url>
  <blog_title>Shammer's Philosophy</blog_title>
  <blog_url>https://shammerism.hatenadiary.com/</blog_url>
  <categories>
    <anon>C</anon>
  </categories>
  <description>EchoClientV2_Debug - Shammerismのように、文字列の画面出力でちょっと謎の動作をしているので実験。 まずは以下のコード。 #include &lt;stdio.h&gt; int main(int argc, char *args[]){ char x[] = &quot;abc&quot;; printf(&quot;%s\n&quot;, x); return 0; }この実行結果は以下。 $ gcc segfault.c $ ./a.out abc問題なし。次は以下のコード。 #include &lt;stdio.h&gt; int main(int argc, char *args[]){ char x[256] = &quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshammerism.hatenadiary.com%2Fentry%2F20090824%2F1390380483&quot; title=&quot;文字列 printf で Segmentation fault 実験 - Shammer&amp;#39;s Philosophy&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>2009-08-24 17:48:03</published>
  <title>文字列 printf で Segmentation fault 実験</title>
  <type>rich</type>
  <url>https://shammerism.hatenadiary.com/entry/20090824/1390380483</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
