karterkupcake8633 karterkupcake8633
  • 13-07-2019
  • Computers and Technology
contestada

T F Overuse of global variables can lead to problems.

Respuesta :

KrystaCort KrystaCort
  • 22-07-2019

Answer:

True

Explanation:

Global Variables

Variables which are declared outside any function. Any function can use these variables,they are automatically initialized to zero(0).They are generally declared before main() function.

Problems

We can modify the global variable in any function as any function can access it. So it is hard to figure out which functions read and write these variables. Various problems are-

  • No Access Control
  • Concurrency issues
  • Memory allocation issues

Answer Link

Otras preguntas

Which of the following situations would cause the greatest increase in the motion of molecules in a system? A. The system absorbs 100 J of heat and has 100 J of
Find the area of the shaded sector. Leave your answer in terms of π.
m+1=-2(n+6) Write a formula for h(n)=
Can someone help me with these 2 easy questions?
Please help and thank you
The author describes 'human' qualities of the wolves - like reasoning and fear. Write a few sentences on any other animal you have observed having similar 'huma
The function f(x) = x2 undergoes a transformation. Which quadratic function represents a vertical stretch and a shift up of 3 units? please answer
What economic policy was practiced by both England and France in regards to the colonies of America
Please help and thank you
Find the quotient. 48a 3 bc 2 ÷ 3abc A 16a 4b 2c 3 B 16a 2c C 18a 2c D 16ac 2