‹ Back to the paper
What is the output of the code given below? int i, j; for(i = 1; i <= 5; i++); for(j = i + 1; j <…
What is the output of the code given below?
int i, j;
for(i = 1; i <= 5; i++);
for(j = i + 1; j < 1; j++);
System.out.print(i + "+" + j);- (a)67
- (b)1+2
- (c)6+7
- (d)12
Answer
No answer yet.
From ISC 2022 Computer Science - Specimen paper (Semester 1), Paper 1, question 15.