GATEverse
← GATE CSE 1995

Q2.3

MCQMarks unknown

Assume that XX and YY are non-zero positive integers. What does the following Pascal program segment do? while X <> Y do if X > Y then X := X - Y else Y := Y - X; write(X);

Sign in to save attempts.

Loading…