summaryrefslogtreecommitdiffhomepage
path: root/c.html.markdown
diff options
context:
space:
mode:
authorLevi Bostian <levi.bostian@gmail.com>2015-10-15 13:01:15 -0500
committerLevi Bostian <levi.bostian@gmail.com>2015-10-15 13:01:15 -0500
commit063c96225483b50aa5ff6c54a486b59f037d1366 (patch)
tree8cb53e48c3eb4a2cefa241bab4a471ad4fc5c372 /c.html.markdown
parentc1982009c782849e4e47dff96ac2f9f477f98817 (diff)
parent4599cd319fd409ddc697feffb607697285b26368 (diff)
Merge pull request #1512 from awalGarg/patch-2
[c/en] clarify common tripping point of newbies
Diffstat (limited to 'c.html.markdown')
-rw-r--r--c.html.markdown3
1 files changed, 3 insertions, 0 deletions
diff --git a/c.html.markdown b/c.html.markdown
index d7a21e58..bfdf276c 100644
--- a/c.html.markdown
+++ b/c.html.markdown
@@ -76,6 +76,9 @@ 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
// ints are usually 4 bytes
int x_int = 0;