<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Understanding C pointers: Part 1</title>
	<atom:link href="http://www.saidsvec.com/2008/01/01/understanding-c-pointers-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.saidsvec.com/2008/01/01/understanding-c-pointers-part-1/</link>
	<description>meta-Software Development</description>
	<lastBuildDate>Fri, 16 Oct 2009 00:50:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: svec</title>
		<link>http://www.saidsvec.com/2008/01/01/understanding-c-pointers-part-1/comment-page-1/#comment-203</link>
		<dc:creator>svec</dc:creator>
		<pubDate>Fri, 21 Nov 2008 03:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://svec.wordpress.com/2007/12/27/understanding-c-pointers-part-1/#comment-203</guid>
		<description>Glad you liked it!

I&#039;ll get around to writing Part 2 one of the these days, I promise.

Until then let me explain that xkcd comic: those &quot;0x3A28213A&quot; and other strings are sample pointer values (in hexadecimal) that you might see if you had a pointer variable in a C program and printed it like this:

  int x = 23;
  int * p = &x;
  printf(&quot;0x%p\n&quot;, p);

This would print &quot;0x........&quot;, where the ... part is some 8 digit hexadecimal number.  The actual number printed out will vary depending on your system, what else is running, and the vagaries of your operating system.

The 8 digit hex number is the location in memory of the integer variable x.  We also call it the &quot;address of x,&quot; and we say &quot;p contains the address of x&quot; or &quot;p points to x.&quot;</description>
		<content:encoded><![CDATA[<p>Glad you liked it!</p>
<p>I&#8217;ll get around to writing Part 2 one of the these days, I promise.</p>
<p>Until then let me explain that xkcd comic: those &#8220;0&#215;3A28213A&#8221; and other strings are sample pointer values (in hexadecimal) that you might see if you had a pointer variable in a C program and printed it like this:</p>
<p>  int x = 23;<br />
  int * p = &#038;x;<br />
  printf(&#8220;0x%p\n&#8221;, p);</p>
<p>This would print &#8220;0x&#8230;&#8230;..&#8221;, where the &#8230; part is some 8 digit hexadecimal number.  The actual number printed out will vary depending on your system, what else is running, and the vagaries of your operating system.</p>
<p>The 8 digit hex number is the location in memory of the integer variable x.  We also call it the &#8220;address of x,&#8221; and we say &#8220;p contains the address of x&#8221; or &#8220;p points to x.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.saidsvec.com/2008/01/01/understanding-c-pointers-part-1/comment-page-1/#comment-202</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Wed, 19 Nov 2008 16:56:36 +0000</pubDate>
		<guid isPermaLink="false">http://svec.wordpress.com/2007/12/27/understanding-c-pointers-part-1/#comment-202</guid>
		<description>Thanks for that nice explanation ;)

I have to admit I still don&#039;t get the &quot;pointers&quot; comic over at xkcd...

http://xkcd.com/138/</description>
		<content:encoded><![CDATA[<p>Thanks for that nice explanation ;)</p>
<p>I have to admit I still don&#8217;t get the &#8220;pointers&#8221; comic over at xkcd&#8230;</p>
<p><a href="http://xkcd.com/138/" rel="nofollow">http://xkcd.com/138/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Understanding C pointers: Part 0 &#171; Said Svec</title>
		<link>http://www.saidsvec.com/2008/01/01/understanding-c-pointers-part-1/comment-page-1/#comment-201</link>
		<dc:creator>Understanding C pointers: Part 0 &#171; Said Svec</dc:creator>
		<pubDate>Mon, 03 Mar 2008 17:15:28 +0000</pubDate>
		<guid isPermaLink="false">http://svec.wordpress.com/2007/12/27/understanding-c-pointers-part-1/#comment-201</guid>
		<description>[...] &#8220;Understanding C pointers: Part 1&#8221; is now available, check it out. [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8220;Understanding C pointers: Part 1&#8221; is now available, check it out. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
