<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[[个人原创]C++学习，在函数中，数组参数退化为指针]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Php/Js/Shell/Go]]></category>
<pubDate>Thu, 04 Aug 2011 02:16:55 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	代码片段：<br/><textarea name="code" class="html" rows="15" cols="100">
 #include &quot;stdio.h&quot;
 #include &quot;iostream&quot;
 void fun(char a[10]);
 using namespace std;
 int main()
 &#123;
&nbsp;&nbsp;&nbsp;&nbsp; char a[10]=&#123;&quot;jackxiang&quot;&#125;;
&nbsp;&nbsp;&nbsp;&nbsp; cout &lt;&lt; &quot;From main function:&#92;n&quot;;
&nbsp;&nbsp;&nbsp;&nbsp; cout &lt;&lt; sizeof(a)&lt;&lt;endl;
&nbsp;&nbsp;&nbsp;&nbsp; cout &lt;&lt; a &lt;&lt; endl;
&nbsp;&nbsp;&nbsp;&nbsp; fun(a);
 &#125;
 void fun(char a[10])
 &#123;
&nbsp;&nbsp;&nbsp;&nbsp; cout &lt;&lt; &quot;From fun function:&#92;n&quot;;
&nbsp;&nbsp;&nbsp;&nbsp; cout &lt;&lt; sizeof(a)&lt;&lt;endl;
&nbsp;&nbsp;&nbsp;&nbsp; cout &lt;&lt; a &lt;&lt; endl;
 &#125;
</textarea><br/><br/>输出：<br/>From main function:<br/>10<br/>jackxiang<br/>From fun function:<br/>4<br/>jackxiang<br/><br/>此例说明：在函数中，数组参数退化为指针，所以函数fun中的sizeof(a)的内容永远输出为4。
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [个人原创]C++学习，在函数中，数组参数退化为指针]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>