English

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

Question

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[ ]?

Very Short Answer
Advertisements

Solution

0

Explanation:

The largest element is 12 at index 0.

shaalaa.com
  Is there an error in this question or solution?
2024-2025 (March) Official Board

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×