0

Pls tell me by what c++ means by nesting

Pls reply

10th Dec 2016, 1:00 PM
CodeGod
CodeGod - avatar
2 ответов
+ 3
nesting means one element is contained inside the other similar element. eg. nesting of if if (cond1) { if (cond2) { statement; } } nesting of for loop for(I=1;I<n;I++) { for(j=1;j<n;j++) { statement; } }
10th Dec 2016, 1:06 PM
Rajiv Puranik
Rajiv Puranik - avatar
0
thnx
12th Dec 2016, 4:32 PM
CodeGod
CodeGod - avatar