Multiple Choices
Answer (Choose 1 answer)
int x;
void test()
{
What is the output of the following code?
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
B. x=100
x=20
C.x=100 x=100
D.x=20
x=100