<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tondol</author_name>
  <author_url>https://blog.hatena.ne.jp/tondol/</author_url>
  <blog_title>FLYING</blog_title>
  <blog_url>https://tondol.hatenablog.jp/</blog_url>
  <categories>
    <anon>c/c++</anon>
  </categories>
  <description>歴史的な理由 もともとC言語の array[i] は *(array + i) の構文糖であるが、もし配列のインデックスが1から始まるとすると array[i] を *(array + i - 1) としなければならなくなって都合が悪い。よって、C言語では配列のインデックスを0から始まるものとした。さらに、C言語から派生した各言語も、できるだけ混乱を避けるために（驚き最小の法則）C言語式のインデックスを採用した―――と言う感じで丁寧に説明すれば、インデックスが0から始まることは理解してもらえるはず。 インデックスが0から始まるもうひとつの理由？ 幼素数要素数Nの配列の各要素に対して何らかの処理…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftondol.hatenablog.jp%2Fentry%2F20080525%2F1211643150&quot; title=&quot;プログラマは0から数える話 - FLYING&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-25 00:32:30</published>
  <title>プログラマは0から数える話</title>
  <type>rich</type>
  <url>https://tondol.hatenablog.jp/entry/20080525/1211643150</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
