...
Code Block | ||
---|---|---|
| ||
int privileges; if (validinvalid_login()) if (is_normal()) privileges = NORMAL; else privileges = ADMINISTRATOR; |
...
Wiki Markup |
---|
\[[ISO/IEC 9899-1999|AA. References#ISO/IEC 9899-1999]\] Section 6.8.4, "Selection statements"
\[[[MISRA 04|AA. References#MISRA 04]\] Rule 14.8
\[[GNU Coding Standards|http://www.gnu.org/prep/standards/standards.html#Syntactic-Conventions]\] Section 5.3, "Clean Use of C Constructs" |