title: typedef fixed length array
body: <p>I have to define a 24-bit data type.I am using <code>char[3]</code> to represent the type. Can I typedef <code>char[3]</code> to <code>type24</code>? I tried it in a code sample. I put <code>typedef char[3] type24;</code> in my header file. The compiler did not complain about it. But when I defined a function <code>void foo(type24 val) {}</code> in my C file, it did complain. I would like to be able to define functions like <code>type24_to_int32(type24 val)</code> instead of <code>type24_to_int32(char value[3])</code>.</p>