What will be the output of the following pseudo code? Integer a=5, b=4, c=3 a…

PYQ Infosys Hiring Test 2025

What will be the output of the following pseudo code?

Integer a=5, b=4, c=3

a = b + c

c = a – b

c = c + a

c = b + c

b = b + c

Print a, b, c

  1. A.

    7 14 7

  2. B.

    7 14 10

  3. C.

    7 8 14

  4. D.

    7 18 14

Attempted by 220 students.

Sign up free to check your answer

Sign up free

Explore the full course: Coding For Placement

Loading lesson…