How do I determine the size of my array in C? - Stack Overflow

How do I determine the size of my array in C? - Stack Overflow

瀏覽:762
日期:2025-10-07
executive summary: int a[17]; n = sizeof(a)/sizeof(a[0]);. To determine the size of your array in bytes, you can use the sizeof operator: int a[17]; int n = sizeof(a);. On my ......看更多