Re:C++ Quiz
by _RPM on Thursday September 18, 2014 @11:27AM
(#8335736)
I don't think you are right. Regardless if what is after that contained in the `...` wouldn't matter. A lone `{` or `}` would be a syntax error.
[ Parent
| on HN ]
As I said, it wouldn't be a syntax error if ... contained the matching { somewhere inside.
That lone } which seemingly belongs to if in this case would be closing the function.
They are talking about the } after the return, not the one after the ...
i.e.
else return(1);
}