|
Bugger,
When you call it->next, it goes to the next iterator element. So in your code the statement is being called twice due to which, it goes to 3 element, if it satisfies the if condition. So, you should call it only once.
__________________
Thanks & Regards, G.Rajasekhar
|