diff options
author | Levi Bostian <levi.bostian@gmail.com> | 2013-09-20 22:33:19 -0500 |
---|---|---|
committer | Levi Bostian <levi.bostian@gmail.com> | 2013-09-20 22:33:19 -0500 |
commit | 67cd987efa06141e5dac74f07fa8f561265c835a (patch) | |
tree | 5f4ee256375d1fdc138f3a78e3c504b163b9e5b8 /c.html.markdown | |
parent | 868be425a6602020f275404a8776d48f3d6d2715 (diff) |
Declare variable before empty for loop.
Diffstat (limited to 'c.html.markdown')
-rw-r--r-- | c.html.markdown | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c.html.markdown b/c.html.markdown index f67f6c4a..d075ea0e 100644 --- a/c.html.markdown +++ b/c.html.markdown @@ -264,6 +264,7 @@ int main() { // *****NOTES*****: // Loops MUST always have a body. If no body is needed, do: + int i; for (i = 0; i <= 5; i++) { ; // use semicolon to act as the body (null statement) } |