<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanakaBox</author_name>
  <author_url>https://blog.hatena.ne.jp/tanakaBox/</author_url>
  <blog_title>ボクノス</blog_title>
  <blog_url>https://boxnos.hatenablog.com/</blog_url>
  <categories>
    <anon>GCC</anon>
  </categories>
  <description>ちょっとサボりすぎたかな・・・今日から4章に入ります。4章から、「これぞK&amp;R」という問題が多数出てくるので楽しみです。 演習 4-1 sにおけるtの「最も右側」の出現位置を返す関数strrindex(s,t)を書け。簡単! return j - 1; と思ったが・・・「最も右側」なので、strrindex(&quot;hoge moge hoge&quot;, &quot;hoge&quot;)の場合、3になってしまうので、文字列sの末尾から走査することにする。 int strrindex(char s[], char t[]) { int i, j, k; int len = strlen(t); if (!len) retur…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20071003%2F1191399503&quot; title=&quot; K&amp;amp;Rを読もう(38) 演習 4-1 再開 - ボクノス&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>2007-10-03 17:18:23</published>
  <title> K&amp;Rを読もう(38) 演習 4-1 再開</title>
  <type>rich</type>
  <url>https://boxnos.hatenablog.com/entry/20071003/1191399503</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
