Hey, i'm wondering how you find out how many bytes are used in multidimensional arrays. I've been looking in my book, but I can't find it. I was thinking that you just multiply the rows by the columns...
float nums[10][10]; I know that a float takes up 4 bytes.
4
40
400
Exit code: 0 (normal program termination)
The above sizes are in bytes and there are 10 rows x 10 columns = 100 elements in the OP nums array. 4 bytes per integer element giving 400 bytes allocated for the array.