Skip to content

Comment on Today's Coding Interview Gameparent

Comments

Assuming you mean for (int i = 0; ; ) {} that is legal syntax. Perhaps I'm dull, but what is the error?

I think the point was that in C(89) you need to declare all variables at the beginning of the scope block.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.