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

Complications of influenza include: bacterial pneumonia, ear and sinus infections, dehydration, and worsening of chronic conditions such as asthma, congestive heart failure, or diabetes.

Did you know?

Approximately 25% of all reported medication errors result from some kind of name confusion.

Did you know?

The most dangerous mercury compound, dimethyl mercury, is so toxic that even a few microliters spilled on the skin can cause death. Mercury has been shown to accumulate in higher amounts in the following types of fish than other types: swordfish, shark, mackerel, tilefish, crab, and tuna.

Did you know?

Many people have small pouches in their colons that bulge outward through weak spots. Each pouch is called a diverticulum. About 10% of Americans older than age 40 years have diverticulosis, which, when the pouches become infected or inflamed, is called diverticulitis. The main cause of diverticular disease is a low-fiber diet.

Did you know?

In 1835 it was discovered that a disease of silkworms known as muscardine could be transferred from one silkworm to another, and was caused by a fungus.

For a complete list of videos, visit our video library