Advertisements
Advertisements
Question
Some of the code given below contains errors. Identify the error and correct it. Write the output of the correct/corrected code.
int LP[] = {11, 44, 77, 33, 55);
for(int j = 0; j <= 4; j++)
LP[j] += j;Very Short Answer
Advertisements
Solution
No Error. Output : LP[4] = 59
shaalaa.com
Is there an error in this question or solution?
Chapter 7: Arrays - One Dimension - Exercises [Page 174]
