All mock tests are FREE till 31 December — register to save your progress
Unit 3 · Programming Concepts & Python HTET 2021 PGT Computer Science

In the given declaration of an array : float height[50];

एक ऐरे के निम्न डिक्लेरेशन में : float height[50];

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. height[0] refers to first element of array.height[0] ऐरे के पहले तत्त्व को संदर्भित करता है।

Explanation

Array indexing starts at 0, so height[0] is the first element.

ऐरे का इंडेक्स 0 से शुरू होता है, अतः height[0] पहला तत्व है।

More Programming Concepts & Python questions