Q38
MSQ2 marksProgrammingConsider the following 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?
Sign in to save attempts.
Keys: A–D or 1–4 choose, Enter checks, ← → move between questions.
Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.