86.8k views
2 votes
Because one memory location can be used repeatedly with different values, you can write program instructions once and then use them for thousands of separate calculation. T/F

1 Answer

1 vote

Answer:

True.

Step-by-step explanation:

The statement written in the question is True.We can use one memory location and use it with different values.

For example:- When we are using a loop be it for,while or do-while.The counter that we use for iteration is one and we use that counter to run the loop.We are using a single memory location and we are updating the count in that memory location many times.

for(int i=0;i<1000;i++)

{

//body.

}

We are using i's memory location and changing it 1000 times.

User Realph
by
8.9k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.