Monday, June 1, 2009

Whatz the output

void main()
{
int i = abc(10);
printf("%d\n",--i);
}

int abc(int i)
{
return(i++);
}

Choice
a) 10
b) 11
c) 9
d) 0

No comments: