In a 24 x 32 two dimensional array, how many rows, columns, and total elements are there?
How many bytes of memory would this occupy? kbytes?
C# Arrays, need help!
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Jan MontanoRank #1,295 · 1.3K reputationPosted Dec 20, 2007, 4:02 PM EST
How many bytes of memory would this occupy? kbytes?
rows = 24
columns = 32
total elements = 24 x 32 = 768
size = depends on the type of your array. multiply the type's size by 768 then you get the 'approximate' size of your array.