English

Given: int car[]= new int [10]; The name of the array is ______.

Advertisements
Advertisements

Question

Given:

int car[]= new int [10];

The name of the array is ______.

Options

  • int

  • car

  • new

  • 10

MCQ
Fill in the Blanks
Advertisements

Solution

The name of the array is car.

Explanation:

In the declaration int car[] = new int[10];, car is the name (reference) of the array. It refers to an array of 10 integer elements.

shaalaa.com
  Is there an error in this question or solution?
Chapter 7: Arrays - One Dimension - Exercises [Page 172]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 7 Arrays - One Dimension
Exercises | Q 1. (iv) | Page 172
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×