English

Indicate the error message which displays, if the following statement is executed: int a[5] = {28, 32, 45, 68, 12}; - Computer Applications

Advertisements
Advertisements

Question

Indicate the error message which displays, if the following statement is executed: 

int a[5] = {28, 32, 45, 68, 12};

Options

  • Insufficient cells

  • Array index out of bounce

  • Elements exceeding cells

  • None

MCQ

Solution

None

Explanation:

The statement int a[5] = {28, 32, 45, 68, 12}; is valid and will not produce an error message. 

shaalaa.com
  Is there an error in this question or solution?
Chapter 3: Arrays (Single Dimensional and Double Dimensional) - EXERCISES [Page 238]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 3 Arrays (Single Dimensional and Double Dimensional)
EXERCISES | Q I. 6. | Page 238
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×