मराठी

Give the output of the following program snippet: int a[ ] =(2, 4, 6, 8, 10}; a[0] = 23; a[3] = a[1]; int c = a[0] + a[1]; System.out.println("Sum = " + c); - Computer Applications

Advertisements
Advertisements

प्रश्न

Give the output of the following program snippet:

int a[ ] =(2, 4, 6, 8, 10};
a[0] = 23;
a[3] = a[1];
int c = a[0] + a[1];
System.out.println("Sum = " + c);
एक शब्द/वाक्यांश उत्तर

उत्तर

27

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. 2. | पृष्ठ २३९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×