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 59 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?

In ancient Rome, many of the richer people in the population had lead-induced gout. The reason for this is unclear. Lead poisoning has also been linked to madness.

Did you know?

There are more nerve cells in one human brain than there are stars in the Milky Way.

Did you know?

Prostaglandins were first isolated from human semen in Sweden in the 1930s. They were so named because the researcher thought that they came from the prostate gland. In fact, prostaglandins exist and are synthesized in almost every cell of the body.

Did you know?

For about 100 years, scientists thought that peptic ulcers were caused by stress, spicy food, and alcohol. Later, researchers added stomach acid to the list of causes and began treating ulcers with antacids. Now it is known that peptic ulcers are predominantly caused by Helicobacter pylori, a spiral-shaped bacterium that normally exist in the stomach.

Did you know?

Asthma occurs in one in 11 children and in one in 12 adults. African Americans and Latinos have a higher risk for developing asthma than other groups.

For a complete list of videos, visit our video library