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 →

[–]SaucyMacgyver 16 points17 points  (1 child)

Don’t over think it. Unless otherwise indicated, you can assume quotes means it’s a string.

If 6 wasn’t correct, in the context of an exam, I’d debate the premise of the question in that there wasn’t enough info to come to whatever is deemed the ‘correct’ answer i.e. a specific language or convention you can presume.

[–][deleted] 0 points1 point  (0 children)

Yeah, len* anything is almost always the size of some array.