Find the errors and correct them. (i) int ar = { 2, 5, 7, 9, 4, 6); (ii) int m[16] = { 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31 ); java language
Answers
Answered by
1
Answer:
both i and ii are wrong as there is parenthesis errors and in question i) array size is not mentioned
Explanation:
it should be
i) int ar[6]={2,5,7,9,4,6}
ii) int m[16] = {1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31};
Similar questions