Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Are the outer parentheses in return statements really optional?
Are the outer parentheses in return statements really optional?
✍: Guest
Yes.
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 circumstances.)
2015-02-02, 1189👍, 0💬
Popular Posts:
Example of using Regular Expressions for syntax checking in JavaScript ... var re = new RegExp("^(&a...
How did you implement UML in your project ? PART II Implementation phase / Coding phase (Class diagr...
What is effort variance? Effort Variance = (Actual effort – Estimated Effort) / Estimated Effort.
How To Get the Minimum or Maximum Value of an Array? - PHP Script Tips - PHP Built-in Functions for ...
How To Wirte a Simple JUnit Test Class? This is a common test in a job interview. You should be able...