answersLogoWhite

0

What does the term nesting mean?

Updated: 10/3/2023
User Avatar

Wiki User

11y ago

Best Answer

"Nesting" can mean a couple of things:

  • the habit of a bird or animal to build a home which is called a nest
  • to fit a smaller object into a larger one.

In mathematical or computer terms: It means to place the same function within a like function. For instance:

for (int x = 0; x < 5; x++)

{

for (int y = 0; y < 10; y++)

{

for (int z = 0; z < 15; z++)

{

cout << "Hello World\n";

}

}

}

You don't have to understand the above C++ code to see that there's a pattern. The for statements are inside each other, or are nested within one another. A statement within a statement within a statement, as it is above. Usually, you can nest many, if not infinite times (however it can get tricky to keep up with). Use it sparingly.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

Nesting refers to putting loops within eacher or "nesting" them. if you are putting multiple loops within eachother, they are "nested loops"

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What does the term nesting mean?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What do you mean by nesting method?

jhgjin


What is the meaning of a dove nesting in your plants?

The meaning of a dove nesting in your plants in the embodiment of maternal instincts and female energies. A dove nesting in your plants could mean you will be pregnant soon.


What does it mean when you see 2 robins at your door?

They are nesting


What does nesting sites mean?

Places where birds build nests.


What does it mean if you see two robins in you garden?

There Probably Nesting


What does it mean to pigeon hole legislation?

The term "pigeonholing" is used to mean that a committee will ignore a pending bill by placing it aside, as if in a cubbyhole. The term comes from the small compartments used for domesticated pigeons when they are nesting. Another modern synonym is to "bottle up" a bill in committee. (see related questions)


When was The Nesting created?

The Nesting was created in 1981.


What is a nesting turtle?

Turtles lay eggs in sand. Once laid, they leave these to hatch on their own. Thus a turtle can only be said to be "nesting" during the act of digging the nest and laying the eggs. Sometimes vast numbers of turtles come to beaches in mass nesting events which I believe is refereed to using the Spanish term "arribada" - which means "the arrival".


What is spring nesting?

This is when spring starts and birds start their nesting.


What is consistent nesting tags?

nesting the tags in a consistent manner


Can you give a nesting bird a shower?

You could I suppose, but if the bird is nesting, I wouldn't disturb it until it is finished with its nesting duties.


What does braces mean in a mathematical term?

Braces are these {} and in mathematics it signifies one of many things. It may represent a "Set". It may represent an operation - enclosed within it - that has to be done and evaluated before proceeding to the next level of nesting etc., etc.