0

Anyone please "briefly" explain nested statements with suitable examples. I want to master it.

9th Apr 2017, 12:04 PM
saiabi
3 odpowiedzi
+ 9
Nested Statements : Consider IF statement , a nested IF means a IF statement inside a IF. e.g: if(condition){ if(condition){ something; } } Similar for other statements.
9th Apr 2017, 12:11 PM
Mr.Robot
Mr.Robot - avatar
+ 6
Its like the movie Inception,but, instead of dreams it is another layer of code.
10th Apr 2017, 3:18 AM
Manual
Manual - avatar
+ 1
nested statements means if there is a block of statements within other block e.g. for(...) { for(...) { } } This is a for in a for. There can be various form of nesting
9th Apr 2017, 3:08 PM
Karan Vaity
Karan Vaity - avatar