GATEverse
← GATE CSE 2025 Set 2

Q23

NAT1 mark

int x=126,y=105; do { if(x>y) x=x-y; else y=y-x; } while(x!=y); printf("%d",x); The output of the given C code segment is _________. (Answer in integer)

Sign in to save attempts.

Loading…