<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mocomei</author_name>
  <author_url>https://blog.hatena.ne.jp/mocomei/</author_url>
  <blog_title>365日コーディングブログ</blog_title>
  <blog_url>https://mocomei.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>お題 関数ポインタを使う プログラム概要 足し算を行う関数を宣言し、それを関数ポインタ経由で利用する ソース #include int sum(int a, int b); int main(void) { int (*p)(int x, int y); int result; p = sum; /* Get address of sum() */ result = (*p)(10, 20); printf(&quot;%d\n&quot;, result); return 0; } int sum(int a, int b) { return a + b; } 実行結果 30</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmocomei.hatenablog.com%2Fentry%2F2013%2F12%2F30%2F202301&quot; title=&quot;20131231【C言語】関数ポインタを使う - 365日コーディングブログ&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>2013-12-30 20:23:01</published>
  <title>20131231【C言語】関数ポインタを使う</title>
  <type>rich</type>
  <url>https://mocomei.hatenablog.com/entry/2013/12/30/202301</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
