1. Home
  2. questions

Filters

Found 3 Questions

Set Default

List of practice Questions

Consider the following C code segment:

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)

  • GATE CS - 2025
  • GATE CS
  • Programming and Data Structure
  • Programming in C

Consider the following C program:

  • GATE CS - 2025
  • GATE CS
  • Programming and Data Structure
  • Programming in C

Consider the following C program:

  • GATE CS - 2025
  • GATE CS
  • Programming and Data Structure
  • Programming in C
contact us
terms & conditions
Privacy & Policy
© 2026 Patronum Web Private Limited