<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakaya0611</author_name>
  <author_url>https://blog.hatena.ne.jp/nakaya0611/</author_url>
  <blog_title>開発日記・備忘録</blog_title>
  <blog_url>https://nakaya0611.hatenadiary.org/</blog_url>
  <categories>
    <anon>C</anon>
  </categories>
  <description>sizeof(変数):変数のバイト数を教えてくれる。 memcpy(コピー先配列名､コピー元配列名、配列全体のサイズ):サイズ分コピー元からコピー先へコピーしてくれる。サンプルを書いてみたりした。 1 #include &lt;stdio.h&gt; 2 #include &lt;memory.h&gt; 3 4 int main(void){ 5 6 int i; 7 char mtv[] = &quot;hello&quot;; 8 // char *mtv=&quot;hello&quot;; 9 10 char mtv_copy[] = &quot;&quot;; 11 12 printf(&quot;%d\n&quot;,sizeof(mtv)); //sizeof(配列) バイト数を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnakaya0611.hatenadiary.org%2Fentry%2F20100423%2F1272010040&quot; title=&quot;C:sizeofとmemcpy - 開発日記・備忘録&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>2010-04-23 17:07:20</published>
  <title>C:sizeofとmemcpy</title>
  <type>rich</type>
  <url>https://nakaya0611.hatenadiary.org/entry/20100423/1272010040</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
