The memory space allocated for an array can be calculated using the -formula.
A. Number of bytes allocated for the type of array + Number of elements
B. Number of bytes allocated for the type of array x Number of elements
C. Number of bytes allocated for the type of array – Number of elements
D. None of these
Answer:B
The memory space allocated for an array can be calculated using the -formula.
A. Number of bytes allocated for the type of array + Number of elements B. Number of bytes allocated for the type of array x Number of elements C. Number of bytes allocated for the type of array – Number of elements D. None of these