Advertisements
Advertisements
Question
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);
One Word/Term Answer
Solution
27
shaalaa.com
Is there an error in this question or solution?