This topic contains a solution. Click here to go to the answer

Author Question: Local variables have ________ duration. a) local b) global c) automatic d) ... (Read 46 times)

lbcchick

  • Hero Member
  • *****
  • Posts: 550
Local variables have ________ duration.
 
  a) local
  b) global
  c) automatic
  d) static

Question 2

Identifiers that represent local variables in a function ________.
 
  a) are globally accessible to the script
  b) exist while the function in which they are declared is still active
  c) exist while the function in which they are declared is no longer active
  d) are not automatically destroyed when the function in which they are declared is exited.



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by a Subject Expert

josephsuarez

  • Sr. Member
  • ****
  • Posts: 323
Answer to Question 1

Ans: (c)

Answer to Question 2

Ans: (b)



lbcchick

  • Hero Member
  • *****
  • Posts: 550

josephsuarez

  • Sr. Member
  • ****
  • Posts: 323

 

Did you know?

Though the United States has largely rejected the metric system, it is used for currency, as in 100 pennies = 1 dollar. Previously, the British currency system was used, with measurements such as 12 pence to the shilling, and 20 shillings to the pound.

Did you know?

According to animal studies, the typical American diet is damaging to the liver and may result in allergies, low energy, digestive problems, and a lack of ability to detoxify harmful substances.

Did you know?

Though newer “smart” infusion pumps are increasingly becoming more sophisticated, they cannot prevent all programming and administration errors. Health care professionals that use smart infusion pumps must still practice the rights of medication administration and have other professionals double-check all high-risk infusions.

Did you know?

All adults should have their cholesterol levels checked once every 5 years. During 2009–2010, 69.4% of Americans age 20 and older reported having their cholesterol checked within the last five years.

Did you know?

About 3.2 billion people, nearly half the world population, are at risk for malaria. In 2015, there are about 214 million malaria cases and an estimated 438,000 malaria deaths.

For a complete list of videos, visit our video library