Friday, April 30, 2010

Predict the output

extern int a;
int ss();
int main()
{
int a=10;
ss();
return printf("%d",a);
}
int ss()
{
return printf("%d",a);
}
int a=20;
Answer:
2010
1020
1010
Compilation Error

1 comments:

Post a Comment