Friday, March 04, 2005

Deceptions - C Quiz

What is the output? (ofcourse! try without linking)
- present your answers as comments

int expr=1;
void main()
{
switch (expr)
{
int variable = 100;
case 0:
variable = 17;
break ;
default:
printf("%d\n", variable);
}
}

No comments: