I often see this representation of the MAC address in C code:
struct mac_addr { unsigned char bytes[6]; }
Why is it necessary to put an array in a structure, why not just have an array? What is the use of this?
Thanks.
c embedded network-programming
Mark
source share