How to access entire structure members in C.Means I want to take all the data of variables in structure.
struct data
{
char a:1;
char b:2;
char c:3;
char d:1;
} arr;
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.