Give the output of the following program snippet: int m[ ] = {2, 4, 6, 8}; System.out.println(m[1] + ' ' + m[2]);
Advertisements
Question
Give the output of the following program snippet:
int m[ ] = {2, 4, 6, 8};
System.out.println(m[1] + ' ' + m[2]); One Line Answer
Advertisements
Solution
4 6
shaalaa.com
Is there an error in this question or solution?
