<?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: bit specific structure</title>
	<atom:link href="http://cc.byexamples.com/2007/06/02/bit-specific-structure/feed/" rel="self" type="application/rss+xml" />
	<link>http://cc.byexamples.com/2007/06/02/bit-specific-structure/</link>
	<description>we share the c/c++ coding by examples</description>
	<lastBuildDate>Wed, 28 Apr 2010 05:19:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ila</title>
		<link>http://cc.byexamples.com/2007/06/02/bit-specific-structure/comment-page-1/#comment-1277</link>
		<dc:creator>ila</dc:creator>
		<pubDate>Tue, 10 Jun 2008 09:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://cc.byexamples.com/20070602/bit-specific-structure/#comment-1277</guid>
		<description>Ans #1-&gt; 4 bytes  &amp; if execute with __attribute__((packed)) size will be 1 byte</description>
		<content:encoded><![CDATA[<p>Ans #1-&gt; 4 bytes  &amp; if execute with __attribute__((packed)) size will be 1 byte</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amit kumar</title>
		<link>http://cc.byexamples.com/2007/06/02/bit-specific-structure/comment-page-1/#comment-496</link>
		<dc:creator>amit kumar</dc:creator>
		<pubDate>Tue, 21 Aug 2007 09:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://cc.byexamples.com/20070602/bit-specific-structure/#comment-496</guid>
		<description>typedef struct
{
     unsigned int                        x:3,
     unsigned long                      y:2,
     unsigned long                      z:3;
}PointCode;

then 
PointCode pc;
printf(&quot;%d &quot;,sizeof(pc)); ?</description>
		<content:encoded><![CDATA[<p>typedef struct<br />
{<br />
     unsigned int                        x:3,<br />
     unsigned long                      y:2,<br />
     unsigned long                      z:3;<br />
}PointCode;</p>
<p>then<br />
PointCode pc;<br />
printf(&#8220;%d &#8220;,sizeof(pc)); ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
