<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sulpsulpc</author_name>
  <author_url>https://blog.hatena.ne.jp/sulpsulpc/</author_url>
  <blog_title>じょ〜だんの日記</blog_title>
  <blog_url>https://sulpsulpc.hatenadiary.org/</blog_url>
  <categories>
    <anon>GCC拡張</anon>
  </categories>
  <description>GCCでは、アドレスを取得できない配列に対しても、添字付けを行うことが出来る。 アドレスを取得できない配列には、以下の二つがある。 register修飾されているもの。 関数の戻り値である構造体のメンバであるもの。 この拡張は[]で要素アクセスする場合にのみ利用できる。*や-&gt;によるアクセスは出来ない。 #define N 2 struct foo { int mem[N]; }; struct foo bar(void); int main() { register int baz[N]; printf(&quot;%d\n&quot;, baz[0]); /* baz[0] は標準Cでは不正 */ print…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsulpsulpc.hatenadiary.org%2Fentry%2F20080924%2Fp1&quot; title=&quot;配列の要素アクセス - じょ〜だんの日記&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-09-24 00:00:00</published>
  <title>配列の要素アクセス</title>
  <type>rich</type>
  <url>https://sulpsulpc.hatenadiary.org/entry/20080924/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
