[CS]
Q1) Predict the Output:-
int I,j;
for(int I=1;I<5;I++)
for(int j=1;j<i;j++)
if (j%2==0)
break;
else
Sopln("weldone");
i++;
Sopln("times :"+i);
//Sopln= System.out.println()
Q2) One word Answer...
>>Array passing is an example of (call by value of call by reference)
_
Thanks, Do not spam/copy other's answer.
:)
Answers
Answered by
0
Answer:
Ques 1 :- Output will be :-
weldone
times:2
weldone
times:4
Ques 2 :- Call By Reference
(Perhaps you have missed the bracket in else part) Hence the output would be as shown
Similar questions
Hindi,
1 month ago
Psychology,
1 month ago
Economy,
1 month ago
India Languages,
2 months ago
Math,
10 months ago
Physics,
10 months ago
Hindi,
10 months ago