Question: What will the following pseudocode program display? Module main ( ) Declare Integer x = 1 Declare Real y = 3 . 4 Display x

What will the following pseudocode program display?
Module main()
Declare Integer x =1
Declare Real y =3.4
Display x,, y
Call changeX(x)
Call changeY(y)
Display x,, y
End Module
Module changeX(Integer a)
Set a =0
Display a
End Module
Module changeY(Real Ref b)
Set b =0.0
Display b
End Module

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!