I know how to use typedef in order to define a new type (label).
For instance, typedef unsigned char int8
means you can use "int8" to declare variables of type unsigned char.
However, I can't understand the meaning of the following statment:
typedef unsigned char array[10]
Does that mean array is of type unsigned char[10]?
In other part of code, this type was used as a function argument:
int fct_foo(array* arr)
Is there anyone who is familiar with this statement?