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
- The functions 'cin' and 'cout' resolve the necessary conversions at :
- In C++, << operator used for shifting bits can also be used for :
- Which of the following is the scope resolution operator in C++ language ?
- Inheritance allows the following in C++ program :
- A generic function can be created using the following :
- Consider the following C++ statements : int x; int& y = x; The statements y = 25; x = 2*x + 30; update the value of x and y as :