<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0">
  <title type="html">글걸이: malloc-calloc-realloc를-이용한-메모리-할당에 달린 최근 덧글/걸린글 목록</title>
  <id>https://pat.im/</id>
  <link rel="alternate" type="text/html" hreflang="ko" href="https://pat.im/" />
  <subtitle type="html">적어도 한 발은 느린 뒷북 블로그</subtitle>
  <updated>2025-10-16T08:40:55+09:00</updated>
  <generator>Textcube 2.0.0 : Beta 3 : inquieto</generator>
  <entry>
    <title type="html">첵님의 덧글</title>
    <link rel="alternate" type="text/html" href="https://pat.im/109#comment94060" />
    <author>
      <name>첵</name>
    </author>
    <id>https://pat.im/109#comment94060</id>
    <published>2016-03-08T11:52:43+09:00</published>
    <summary type="html">안녕하세요 

다름이 아니라 예문에서 realloc 을 한다음 크기를 보기 위하여 printf하는구문에서 

 for(i=0; i&amp;lt;size; ++i) printf(&amp;quot;%d&amp;quot;,i);---&amp;gt;for(i=0; i&amp;lt;size; ++i) printf(&amp;quot;%d&amp;quot;,ar[i]);

로 바꾸어야 하는것은 아닌지요. 앞에 구문으로 보면 그저 i의 반복문을 프린트 하는것 같아서 문의드립니다.</summary>
  </entry>
  <entry>
    <title type="html">팥알님의 덧글</title>
    <link rel="alternate" type="text/html" href="https://pat.im/109#comment94063" />
    <author>
      <name>팥알</name>
    </author>
    <id>https://pat.im/109#comment94063</id>
    <published>2016-03-08T12:54:17+09:00</published>
    <summary type="html">중요한 걸 짚어 주셔서 고맙습니다.
malloc 쪽 구절과 realloc 쪽 구절의 출력문은 같아야 하는데, 작지만 큰 실수를 했네요.
이미 보신 분들께도 잘못된 예제를 올려 두어서 죄송합니다.</summary>
  </entry>
</feed>
