Qmark: 1
Total Marks: 50
Vol: 8
Font: Microsoft Sans Serif
Size: 10
Time Left:45:32
Multiple Choices
}
(Choose 1 answer)
What is the output of the following code?
int x;void test(){
int x;x=20
} int main () {
x = 100;
printf(" x = %d",x);
test();
printf(" x = %d",x);
printf("");
return(0);
A. Error at compiling time
R~x=100 x=20
C~x=100 x=100
D. x=20 x=100