summaryrefslogtreecommitdiffhomepage
path: root/c.html.markdown
diff options
context:
space:
mode:
authorKoenigKrote <koenigkrote@outlook.com>2020-02-21 18:41:29 -0700
committerKoenigKrote <koenigkrote@outlook.com>2020-02-21 18:41:29 -0700
commitbf1fe71a83a244dcfe36c543913829aaaf624f2e (patch)
treeab1060066a52701dc59040708b8cbecc8859e3de /c.html.markdown
parentbdeb28ebbc71ee3f53c7262ab4f265c81c6a8add (diff)
Rephrase variable declaration comments
Diffstat (limited to 'c.html.markdown')
-rw-r--r--c.html.markdown10
1 files changed, 6 insertions, 4 deletions
diff --git a/c.html.markdown b/c.html.markdown
index e5ffc379..5b02390d 100644
--- a/c.html.markdown
+++ b/c.html.markdown
@@ -89,10 +89,12 @@ int main (int argc, char** argv)
// Types
///////////////////////////////////////
- // All variables MUST be declared at the top of the current block scope
- // we declare them dynamically along the code for the sake of the tutorial
- // (however, C99-compliant compilers allow declarations near the point where
- // the value is used)
+ // Compilers that are not C99-compliant requires that variables MUST be
+ // declared at the top of the current block scope.
+ // Compilers that ARE C99-compliant allow declarations near the point where
+ // the value is used.
+ // For the sake of the tutorial, variables are declared dynamically under
+ // C99-compliant standards.
// ints are usually 4 bytes
int x_int = 0;