float mark[5];The number of elements that can be stored in the array is ____ and the memory requirement of the array is _____ bytes.
Answers
Answered by
4
A N S W E R:
Given array,
>> float mark[5]; #Line 1
• The number of elements that can be stored in this array is 5 and the memory requirement of the array is 20 bytes.
E X P L A N A T I O N:
- From line 1, it is clear that number of elements that can be stored in the given array is 5. Data type: Float.
- Size of float data type is - 4 bytes. So, memory requirement of the array will be, - 4 × 5 bytes or 20 bytes.
•••♪
Similar questions