Bitfields in C programming language
<p>How to access entire structure members in C.Means I want to take all the data of variables in structure.</p>

<pre><code>struct data
{
char a:1;
char b:2;
char c:3;
char d:1;
} arr;
</code></pre>

<p>I can access individual members by using . operator.But i need to access all members in that structure.Colud you please tell me how to do.</p>