Qmark: 1
Total Marks: 50
Vol: 8
Font: Microsoft Sans Serif
Size: 10
Time Left:46:26
Multiple Choices
(Choose 1 answer)
What is the output when the sample code below is executed?
void foo(char x) { x = 66;printf("%c",x++);}
int main() { char x = 'A'; // ASCII code = 65 foo(x);foo(x);return 0;}
A. B B
B. A B
C. B C
D. B D
Ε. 66 67
✔D