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

Use the chart to determine which is an example of a highly polar covalent bond. Ca – Cl Fe – O H – S F – F Done Elements Electronegativity aluminum (Al) 1.6
Where does act 3 scene 1 Romeo and Juliet take place ?
How do mutations affect a cell?
Strategic management is defined as
Tucker invested $3500 at 2% interest compounded annually. How much interest will he earn in 3 years? A.$70.00 B.$210.00 C.$214.23 D.$3714.23
What is selfcontrol
Choose the participle that correctly completes the sentence. Last night, the coach's speech _______ all the players on the team to show up for the optional Sa
In The Tempest, Prospero claims that, despite giving Caliban "human care," he cannot be elevated from his brutish nature. Caliban, on the other hand, claims tha
Y<-4x-1 what's the answer to this and please show
what Kingdom is algae- plantae or protista?