c - typedef fixed length array - Stack Overflow

c - typedef fixed length array - Stack Overflow

瀏覽:757
日期:2025-06-09
Arrays can't be passed as function parameters by value in C. You can put the array in a struct: typedef struct type24 { char byte[3]; } type24; and then pass that by value, but of course then it's less convenient to use: x.byte[0] instead of x[0]. Your fu...看更多