C Interview Questions and Answers


Are the outer parentheses in return statements really optional?


Long ago, in the early days of C, they were required, and just enough people learned
C then, and wrote code which is still in circulation, that the notion that they
might still be required is widespread.

(As it happens, parentheses are optional with the sizeof operator, too, under certain

Posted by:Richards