#include <stdio.h>

int main(void) {

	struct bitfield{
		unsigned a:5;
		unsigned c:5;
		unsigned b:6;
	} bit = {1,3,3};
	
	char *p = (char*)&bit;
	printf("%d\n",*p);
	p++;
	printf("%d\n",*p);
	// I assumed that the bits are laid out in the below order in the memory. Spaces are just for clarity
	// Also, I asumed that the 'char' will take 8 bits. But I can't seem to understand the output.
	//00001 00011 000011
	return 0;
}


