64. Pointer-ii

Question.3

A developer reads the third byte from a 32-bit register array using pointer arithmetic:

uint32_t regs[4] = {0x100, 0x200, 0x300, 0x400};
uint32_t *p = regs;
p += 3;

The developer expects p to point to the third byte of the array. Is this correct?

Need Help? Refer to the Quick Guide below

Select Answer

Restart quiz!