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

To maintain good kidney function, you should drink at least 3 quarts of water daily. Water dilutes urine and helps prevent concentrations of salts and minerals that can lead to kidney stone formation. Chronic dehydration is a major contributor to the development of kidney stones.

Did you know?

More than 150,000 Americans killed by cardiovascular disease are younger than the age of 65 years.

Did you know?

Nearly 31 million adults in America have a total cholesterol level that is more than 240 mg per dL.

Did you know?

The longest a person has survived after a heart transplant is 24 years.

Did you know?

The horizontal fraction bar was introduced by the Arabs.

For a complete list of videos, visit our video library