uint8_t b[4] = {0}; uint32_t *x = (uint32_t*) b; (*x)++; printf("%u\n", b[0]); //1