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

Immunoglobulin injections may give short-term protection against, or reduce severity of certain diseases. They help people who have an inherited problem making their own antibodies, or those who are having certain types of cancer treatments.

Did you know?

Lower drug doses for elderly patients should be used first, with titrations of the dose as tolerated to prevent unwanted drug-related pharmacodynamic effects.

Did you know?

According to research, pregnant women tend to eat more if carrying a baby boy. Male fetuses may secrete a chemical that stimulates their mothers to step up her energy intake.

Did you know?

People with alcoholism are at a much greater risk of malnutrition than are other people and usually exhibit low levels of most vitamins (especially folic acid). This is because alcohol often takes the place of 50% of their daily intake of calories, with little nutritional value contained in it.

Did you know?

Fatal fungal infections may be able to resist newer antifungal drugs. Globally, fungal infections are often fatal due to the lack of access to multiple antifungals, which may be required to be utilized in combination. Single antifungals may not be enough to stop a fungal infection from causing the death of a patient.

For a complete list of videos, visit our video library