<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>글걸이: malloc-calloc-realloc를-이용한-메모리-할당에 달린 최근 덧글/걸린글 목록</title>
		<link>https://pat.im/</link>
		<description>적어도 한 발은 느린 뒷북 블로그</description>
		<language>ko</language>
		<pubDate>Thu, 16 Oct 2025 00:39:25 +0900</pubDate>
		<generator>Textcube 2.0.0 : Beta 3 : inquieto</generator>
		<item>
			<title>첵님의 덧글</title>
			<link>https://pat.im/109#comment94060</link>
			<description>안녕하세요 

다름이 아니라 예문에서 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의 반복문을 프린트 하는것 같아서 문의드립니다.</description>
			<author>첵</author>
			<guid>https://pat.im/109#comment94060</guid>
			<comments>https://pat.im/109#comment</comments>
			<pubDate>Tue, 08 Mar 2016 11:52:43 +0900</pubDate>
		</item>
		<item>
			<title>팥알님의 덧글</title>
			<link>https://pat.im/109#comment94063</link>
			<description>중요한 걸 짚어 주셔서 고맙습니다.
malloc 쪽 구절과 realloc 쪽 구절의 출력문은 같아야 하는데, 작지만 큰 실수를 했네요.
이미 보신 분들께도 잘못된 예제를 올려 두어서 죄송합니다.</description>
			<author>팥알</author>
			<guid>https://pat.im/109#comment94063</guid>
			<comments>https://pat.im/109#comment</comments>
			<pubDate>Tue, 08 Mar 2016 12:54:17 +0900</pubDate>
		</item>
	</channel>
</rss>
