<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sekiyo</author_name>
  <author_url>https://blog.hatena.ne.jp/sekiyo/</author_url>
  <blog_title>sekiyo’s diary</blog_title>
  <blog_url>https://sekiyo.hatenablog.com/</blog_url>
  <categories>
    <anon>lang</anon>
  </categories>
  <description>C では 関数に対して 引数を 値で渡すから、呼ばれた関数のほうで 呼び出した関数内の変数を 直接 変更することはできない。 (このとき) ポインタ変数を使えば、関数の中で それを呼んだ関数中の オブジェクトにアクセスして (間接的に) 変更することが 可能となる。 /* swap_2.c */ #include void swap(int *x, int *y); main() { int a = 3, b = 5; printf(&quot;a = %d, b = %d\n&quot;, a, b); swap(&amp;a, &amp;b); printf(&quot;swap a = %d, b = %d\n, a, b); re…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsekiyo.hatenablog.com%2Fentry%2F20050314%2Fp1&quot; title=&quot;プログラミング言語 C - sekiyo’s diary&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>2005-03-14 00:00:00</published>
  <title>プログラミング言語 C</title>
  <type>rich</type>
  <url>https://sekiyo.hatenablog.com/entry/20050314/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
