English

What is meant by direct initialization of an array? - Computer Applications

Advertisements
Advertisements

Question

What is meant by direct initialization of an array? 

Answer in Brief

Solution

Direct initialization of an array refers to assigning the values to the array at the time of its declaration. 

For example, int arr[] = {2, 5, 4, 8, 12 .......}; 

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

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 3 Arrays (Single Dimensional and Double Dimensional)
Review Insight | Q 1. | Page 236
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×