Advertisements
Advertisements
Question
The sales made by 5 salesmen selling 5 products is stored in a two-dimensional array of integer data type. How many bytes does the array oсcupy?
Options
25
200
50
100
MCQ
Advertisements
Solution
100
Explanation:
A 2D array with 5 salesmen and 5 products has 5 × 5 = 25 integer elements. Assuming an integer occupies 4 bytes, total memory = 25 × 4 = 100 bytes.
shaalaa.com
Is there an error in this question or solution?
2025-2026 (March) Official Board Paper
