MSQ · 2 marks · C Programming

GATE CS 2024 CS-1 — Q48

Consider the following C function definition.
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 all correct options