How to initialize array to 0 in C? · 35. char ZEROARRAY[1024] = { 0 }; · 3. If you'll ever need to allocate memory on the heap, you can also use calloc(). · 3.
確定! 回上一頁