मराठी

Give the output of the following program snippet: int a[] = new int [5]; a[0] = 4; a[1] = 8; a[2] = 7; a[3] = 12; a[4] = 3; System.out.println(a[2 + 1]); - Computer Applications

Advertisements
Advertisements

प्रश्न

Give the output of the following program snippet:

int a[] = new int [5];
a[0] = 4; a[1] = 8; a[2] = 7; a[3] = 12; a[4] = 3;
System.out.println(a[2 + 1]);
एक शब्द/वाक्यांश उत्तर

उत्तर

12

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 3: Arrays (Single Dimensional and Double Dimensional) - EXERCISES [पृष्ठ २३९]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 3 Arrays (Single Dimensional and Double Dimensional)
EXERCISES | Q III. 3. | पृष्ठ २३९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×