Document number: N1865 Submitter: Martin Sebor Submission Date: September 19, 2014 Subject: scope of a for loop control declaration Summary The scope of a for loop control declaration in C is different from that in C++. In particluar, while in C the declaration establishes its own scope in which the scope of the body of the for statement is nested, in C++ the two are one and the same. The practica
{{#tags}}- {{label}}
{{/tags}}