What does it mean to 'nest' in programming | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What does it mean to 'nest' in programming

3rd Aug 2019, 5:10 PM
Emmanuel Odebode
Emmanuel Odebode - avatar
8 Answers
+ 7
put this in that, e.g use one if in another if if(a<b) if(a<c) do something....... this is a nested if
3rd Aug 2019, 6:36 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 4
Nest means mix one code with another code like ul (unorder list)can be listed with ol (order list)😉
5th Aug 2019, 2:45 PM
Sayyam Jain
Sayyam Jain - avatar
+ 2
It means to put inside something. Here is an example of useful nested for loops https://code.sololearn.com/cN83PDBjfLMn/?ref=app
3rd Aug 2019, 6:35 PM
Pete Cowling
Pete Cowling - avatar
+ 2
if a "for" loop comes in an another "for" loop for( * * * *){ for(* * * *){ //do something } } it's called nested for loop
5th Aug 2019, 2:04 AM
Vishnu
Vishnu - avatar
+ 1
To nest means adding a condition inside a condition
8th Aug 2019, 2:37 AM
Aaradhya Desai
Aaradhya Desai - avatar
+ 1
Nest means combining a code with another
3rd Mar 2020, 7:07 PM
Azeez Hameed
Azeez Hameed - avatar
0
I think syntax will clear the doubt
15th Aug 2019, 12:50 PM
Kuldeep Patel
0
Nesting of block Means there are one block inside the another block .. The outer block is called also parent block and inner block is called child block
16th Aug 2019, 4:48 PM
Kuldeep Patel