- Please select the output:
main
declare X as integer, Yas integer
set x=1
set y=2
call sub(x, y)
write x
write y
End program
Subprogram sub( integer Num1 as ref,Integer Mum2 as reference)
declare x as integer
set Num1 = 3
set Num2 = 4
set x= 5
write x
end subprogram
Please select one: 5/42, 5/34, 5/32,5/24
- What is the output of this pseudo code
Main
declare F asInteger
F = 1
set result = F(K)
write result
end program
Function F(N) as integer
if N == 1 Then
set F= 1
else
set