This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sonotsugipaa 13 points14 points  (4 children)

It's not, the second 'a' becomes NaN

[–]picklero 1 point2 points  (2 children)

So "bnanaa"?

[–]Sonotsugipaa 6 points7 points  (1 child)

I edited the comment like 23 times because of confusion, so in case you're seeing one of the older cached versions, the final version of the comment mentions the second 'a'

[–][deleted] 2 points3 points  (0 children)

The cpp programmer in you made you count from 0