pollytroyer01 pollytroyer01
  • 17-11-2020
  • Computers and Technology
contestada

How does the variable scope influence the structure of an algorithm

Respuesta :

kathyh503
kathyh503 kathyh503
  • 17-11-2020

You can only put global variables anywhere in the program while with local variables it can only be used within the function. You're only allowed to use local variables in different functions and not the same variable in the same function.

Answer Link

Otras preguntas

Read the generative grammar phrase structure rules. S -> NP + VP NP ->(DET) N VP -> V (NP) Which of these is a kernel sentence that would match these p
What non-sweet food is associated with Easter
Help please thanks:/
Type the correct answer in the box. Use numerals instead of words. If necessary, use / for the fraction bar. Sanjay bought T-shirts for his friends on the debat
Chlorine gas (CI2) is a(n) A.) mixture. B.) element. C.) molecule. D.) compound.
what air pollutant that is released due yo human activity? A) carbon dioxide B) nitrogen dioxide C) toxic dioxide D) all of these are air pollutants caused
Andrew has a different cookie recipe that makes 28 cookies. He plans to have 21 guests at the party and wants each guest to have plenty of cookies. If he triple
The amount of polonium-210 remaining, p(t), after t days in a sample can be modeled by the exponential function p(t) = 100eāˆ’0.005t, where 100 represents the ini
5a/5a+5 x 10a +10/10​
A string is wrapped around a uniform cylinder of mass M and radius R. The cylinder is released from rest with the string vertical and its top end tied to a fixe