<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kankinkon</author_name>
  <author_url>https://blog.hatena.ne.jp/kankinkon/</author_url>
  <blog_title>Afro-Blue</blog_title>
  <blog_url>https://kankinkon.hatenadiary.org/</blog_url>
  <categories>
    <anon>C言語</anon>
  </categories>
  <description>C言語の文字と文字列を復習してみる 文字 C言語で文字型はchar型というデータ型で1バイトのメモリサイズをもつ。 int main(void) { char x; x = 'a'; printf(&quot;%c\n&quot;, x); return 0; }出力結果 aプログラム中の'a'は「aという文字」を表すchar型定数。1バイト文字でないと駄目。 日本語は２バイト文字の為char型定数にはならない。 文字列 C言語には文字列型という型はなくchar型の配列で表される。その配列は「文字列の最後に 終端を表す'\0'(ヌル文字)がついている」という約束を守っている必要がある。 #include &lt;std…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkankinkon.hatenadiary.org%2Fentry%2F20111127%2F1322382458&quot; title=&quot;C言語　文字列処理の復習 - Afro-Blue&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>2011-11-27 17:27:38</published>
  <title>C言語　文字列処理の復習</title>
  <type>rich</type>
  <url>https://kankinkon.hatenadiary.org/entry/20111127/1322382458</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
