ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  When Linux Runs Out of Memory
Subject:   Source needs some changes to compile
Date:   2007-06-21 16:33:31
From:   deStilaDo
Response to: Source needs some changes to compile

IAACP and no, it's wrong.
Even if it's accepted by any compiler, it shouldn't.
The grammar of the C language states that parenthesis are mandatory part of "if statement", formally know as "selection_statement":

selection_statement: in statement
IF '(' expression ')' statement
| IF '(' expression ')' statement ELSE statement


1 to 1 of 1
1 to 1 of 1