<?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>なんだか危険な香りのする問題。 演習 3-2 \n,\tを\\n,\\tに変換する問題。escape(s, t)だと、問題がありそうな関数なので、mallocを使ってメモリを確保した。 #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;string.h&gt; char *escape(char *s); int main(void) { char *e; e = escape(&quot;aa\nbb\tcc\ndd\t&quot;); printf (&quot;%s\n&quot;, e); free(e); return EXIT_SUCCESS; } char *escape(ch…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20070910%2F1189380674&quot; title=&quot; K&amp;amp;Rを読もう(35) 演習 3-2 特殊文字のエスケープ  - ボクノス&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-09-10 08:31:14</published>
  <title> K&amp;Rを読もう(35) 演習 3-2 特殊文字のエスケープ </title>
  <type>rich</type>
  <url>https://boxnos.hatenablog.com/entry/20070910/1189380674</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
