GATEverse Practice, past papers & mock tests
GATE 2024 · CS1 - Forenoon
Programming & Data StructuresProgramminghardMSQ2 marks
Consider the following C function definition.
c
int f(int x, int y) {
  for (int i=0; i<y; i++) {
    x=x+x+y;
  }
  return x;
}
Which of the following statements is/are TRUE about the above function?

Select every correct option.

Save your progress

Related Programming & Data Structures PYQs