Advertisements
Advertisements
प्रश्न
double x [ ]={2.5,4.5,5.5,6.4}; occupies ______ bytes.
पर्याय
16
4
8
32
MCQ
रिकाम्या जागा भरा
Advertisements
उत्तर
double x [ ]={2.5,4.5,5.5,6.4}; occupies 32 bytes.
Explanation:
The array contains four elements: 2.5, 4.5, 5.5, and 6.4, each of type double. Since a double occupies 8 bytes, the total memory used by the array is 8 × 4 = 32 bytes.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2024-2025 (March) Official Board
