Name: Anonymous 2013-11-19 12:18
Ask /prog/ anything.
Although don't expect an answer or even a good one.
Also, keep it /prog/ related.
Although don't expect an answer or even a good one.
Also, keep it /prog/ related.
#include <stdio.h>
struct {
unsigned int a : 1;
int b : 1;
unsigned int c : 2;
int d : 2;
} test;
int main(void) {
int i;
test.a = test.b = test.c = test.d = 0;
for(i = 0; i < 15; i++)
printf("%d:%d:%d:%d\n", test.a++,test.b++,test.c++,test.d++);
return(0);
}