What does this pointer really mean

typedef uint8_t A[3]; A *p; 

I can not understand what this pointer p actually is?

 A b; 

is an

 uint8_t b[3]; 

So,

 A *p; 

is an

 uint8_t (*p)[3]; 

Do I understand correctly?

If typedef just does just replace typedef'ed markers, then how is this done? Can someone explain?

+6
source share

Source: https://habr.com/ru/post/987551/


All Articles