Multiple Choices
Answer (Choose 1 answer)
What is the output when the sample code below is executed?
int calc(int x) { x *= x;
return 2*x;
}
main() { int x = 2:
x = calc(x);printf("%d", x);calc(x);printf("%d", x);
}
A. 416
B. 464
C. 864
D. 88
E. 8512