<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takehikom</author_name>
  <author_url>https://blog.hatena.ne.jp/takehikom/</author_url>
  <blog_title>わさっきhb</blog_title>
  <blog_url>https://takehikom.hateblo.jp/</blog_url>
  <categories>
    <anon>情報教育</anon>
    <anon>C</anon>
  </categories>
  <description>同一の型の二つの変数があって(int x, y;としましょう．そして，あらかじめそれぞれに値が代入されているとしましょう)，その値を交換するには，通常，次のように書きます． { int tmp; tmp = x; x = y; y = tmp; }このtmpという名前の変数は，一時的に値を保存するためのもので，語源はtemporaryです．この変数の有効範囲を限定するため，「{」と「}」とで囲っておきます(xとyは，この外で定義されているものとします)．プログラミングの授業では，if文などの制御文を使うときや，関数を定義するときに，「{」と「}」と使う，と教えていますが，処理の途中でいきなり「…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakehikom.hateblo.jp%2Fentry%2F20061130%2F1164834080&quot; title=&quot; 二つの値を交換する方法 - わさっきhb&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>2006-11-30 06:01:20</published>
  <title> 二つの値を交換する方法</title>
  <type>rich</type>
  <url>https://takehikom.hateblo.jp/entry/20061130/1164834080</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
