C char array initialization - Stack Overflow

C char array initialization - Stack Overflow

瀏覽:361
日期:2025-10-04
For the sake of the person asking the question, it's worth pointing out that the C standard requires any partially-complete array initialisation to be padded with zero for the remaining elements (by the compiler). This goes for all data types, not just ch...看更多