Look,
typedef struct jig { int *a; int *b; }temp;
now stage 1 :
temp *b; b= (
This is completely operating system dependent, there's no telling where pointers will be pointing in what case, since that isn't specified. You should always set your pointers to NULL no matter what.