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

Water has always been what to Africa?
In the cell, part of the golgi apparatus will pinch off and move away. what is the function of this process? a.to release energy from atp b.to deliver protein
someone please help!
How do you answer this question
How would the sum of cubes formula be used to factor x3y3 + 343? Explain the process. Do not write the factorization. PLEASE DO NOT WRITE NUMBERS!!
A rectangular inflatable swimming pool is 3 yards long, 2 4/5 yards wide, and 1 2/5 yards tall. What is the volume of he pool? Round to the nearest tenth
Why did the mayan civilization come to an end?
I need help on all of them
What two-word term is used to describe a controversial rule change in the u.s. senate that allows a majority party to overcome a filibuster with a simple majori
What drink gave immortality to those who drank it? a.meadb.nectarc.xocolotld.green tea?