What will the output of the following pseudocode be for i = 140? integer…
PYQ Accenture Hiring Assessment 2024
What will the output of the following pseudocode be for i = 140?
integer fun(int i)
if ((i % 2) != 0)
return i;
else
return fun(fun(i = 1));
End function fun()- A.
1
- B.
2
- C.
3
- D.
0 (Zero)
Attempted by 79 students.
Sign up free to check your answer
Sign up freeLoading lesson…

