Thursday, February 14, 2008

Aptitude Question No.12

Aptitude Question No.12

void main()
{
int i=5;
printf("%d",i++ + ++i);
}
Answer
Output Cannot be predicted exactly.

Explanation
Side effects are involved in the evaluation of i

No comments:

2008 Placement papers of Top MNC companies

eXTReMe Tracker