Hi,
I found this page http://en.wikipedia.org/wiki/Comma_operator while reading up on the comma operator. Can anyone point out where the comma operator is being used in the sample Tortoise/Hare algorithm? I can't see it myself.
Thanks,
Alan
Printable View
Hi,
I found this page http://en.wikipedia.org/wiki/Comma_operator while reading up on the comma operator. Can anyone point out where the comma operator is being used in the sample Tortoise/Hare algorithm? I can't see it myself.
Thanks,
Alan
Third line to separate variable declarations (not as operator, as stated above)
Sixth line to separate loop increment statements (as operator)
Not a particularly instructive example I have to say.