Commit 2bce517b authored by ROUVREAU Vincent's avatar ROUVREAU Vincent Committed by GILLES Sebastien
Browse files

typo: we are talking explicitly of an 'i' variable that could be named...

typo: we are talking explicitly of an 'i' variable that could be named something else, but the variable is named 'j'
parent a3e5930f
......@@ -117,11 +117,11 @@
"}\n",
"\n",
"{\n",
" int j = 5; // I could have named it differently - it doesn't matter as the scope is different!\n",
" int i = 5; // I could have named it differently - it doesn't matter as the scope is different!\n",
"\n",
" increment_and_print(j);\n",
" increment_and_print(i);\n",
"\n",
" std::cout << \"Outside the function: i = \" << j << std::endl; \n",
" std::cout << \"Outside the function: i = \" << i << std::endl; \n",
"}"
]
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment