हिंदी

Consider the following array and answer the question given below: int a[ ] = {12,10,8,4,6,2,3,5,7} What is the index (subscript) of the largest element of the array a[ ]? - Computer Applications

Advertisements
Advertisements

प्रश्न

Consider the following array and answer the question given below:

int a[ ] = {12,10,8,4,6,2,3,5,7}

What is the index (subscript) of the largest element of the array a[ ]?

अति संक्षिप्त उत्तर
Advertisements

उत्तर

0

Explanation:

The largest element is 12 at index 0.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2024-2025 (March) Official Board

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×