<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuyarin</author_name>
  <author_url>https://blog.hatena.ne.jp/yuyarin/</author_url>
  <blog_title>yuyarinの日記</blog_title>
  <blog_url>https://yuyarin.hatenadiary.org/</blog_url>
  <categories>
    <anon>C/C++</anon>
  </categories>
  <description>#lowhacksでnyaxt, nishioが配列とポインタの違いについて議論していた。その中で関数の仮引数を配列として宣言した場合の挙動はどうなるのか、という話題にたどり着いた。結果僕は非常に危険だと思った。 しかし、まさかそんなことする人はいないだろうと、この記事を書きかけで放置していたのだが、C言語を学習中の友人が危惧していたコードを書く可能性があるミスをしてしまったので書こうと思う。初心者のためにソースは全文、コンパイルチェックをした上で掲載している。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuyarin.hatenadiary.org%2Fentry%2F20080531%2F1212161875&quot; title=&quot;C言語の関数の仮引数における配列型宣言の危険性について - yuyarinの日記&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>2008-05-31 00:37:55</published>
  <title>C言語の関数の仮引数における配列型宣言の危険性について</title>
  <type>rich</type>
  <url>https://yuyarin.hatenadiary.org/entry/20080531/1212161875</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
