Re: list reverse function
lovecreatesbea...@gmail.com wrote:
> Reverse a single directional non-circle list.
Is that an order?
> Comments are welcome.
Comments on what? Your code does not compile because you miss asterisks
all over the place. As others suggested, you would have known that
yourself had you bothered to compile before posting. Fix the syntax
errors and your homework is done. Where did you copy it from, just out
of interest? The algorithm looks OK, suggesting a level of understanding
that makes the absence of asterisks rather surprising.
|