Questions


September 2023 2 6 Report
What will be the output of the following pseudo code?

1. Integer p, q, r

2. Set p = 6, q = 6 , r = 10

3. if((p ^ 4) < (6 + p))

4. if((r + q) > (q - r))

5. q = 3 + r

6. r = (5^4) + q

7. End if

8. r =(r&11)+q

9. Else

10. p = 6 + p

11. if ((r + p) < (8 - r))

12. q = (2 + 9) + q

13. End if

14. p = (p + r) ^ r

15. End if

16. Print p + q + r​

Answers & Comments


Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.