How is correctly called "parent" of nested loop?
I h开发者_JAVA百科ave a general question across the languages. How is correctly called the "parent" loop? The higher one:
for(int A=0;A<10;A++)
{
for(int B=0;B<10;B++)
{
}
}
I would say the "outer loop" and the "inner loop".
Everything you need to know about loops:
http://www.wisegeek.com/what-is-a-nested-loop.htm
精彩评论