How do I determine the size of my array in C?
int a; size_t n = sizeof(a); On my computer, ints are 4 bytes long, so n is 68. To determine the number of elements in the array, we can divide the total size of the array by the size of
PDF includes complete article with source references.
Download BESS datasheets, pricing guides, and storage system specifications.
Via Monte Rosa, 91
20149 Milan, Italy
Italy (Sales): +39 06 8732 5419
Italy (Support): +39 335 728 3641
Mon-Fri: 9:00 AM – 6:00 PM (CET)