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

What statement best describes a republic?
Tu as quels cours le jeudi matin?
The rectangle has an area of 4(x+3) square units. A- If the dimensions of the rectangle are doubled, what is the area of the new rectangle in terms of x? Show y
What property is shown by the equation? 1. 0 ÷ (–6) = 0
p(x) x^3+x^2-x-1 Find all zeros of p (x)
what are 2 points on the graph for 6x-5y=25
Is 5/7 greater than 4/6
why is the square root of a perfect square always rational
Sophia bought 3 yards of trim to put around a rectangular scarf. She wants the width of the scarf to be a whole number that is at least 6 inches and at most 12
the volume of a rectangle prism with square bases is 5880 cubic inches. it has a height of 30 inches. find the side length of the square base.