Thank you for the explanations! Another thing that I forgot is a statement like this:
1 2 3 4
while ((char *obj = next()))
{
//some statements;
}
Well, the way I interpreted it was that the condition is always true since char *obj = next() is an assignment, leading to an infinite loop, but the way it was used was like there would be a time when the condition would be false. Any comments!!