64. Pointer-ii

Question.2

A developer traverses a UART buffer using pointer arithmetic:

uint8_t buf[5] = {0xAA, 0xBB, 0xCC, 0xDD, 0xEE};
uint8_t *p = buf;
p++;
p++;
printf("0x%02X", *p);

What is the output?

Need Help? Refer to the Quick Guide below

Select Answer

Restart quiz!