I though I had finally understood pointers but then I encountered this issue:
typedef struct {
unsigned int a;
unsigned int b;
} Bar;
Bar *foo;
foo->a = 3;
This last instruction doesn't work (if I try to access foo->a somewhere else in the code, I either get 0 or rubish)... What am I missing?