1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
olga2289 [7]
2 years ago
10

A local variable that is declared as ____ causes the program to keep the variable and its latest value even when the function th

at declared it is through executing.
Computers and Technology
1 answer:
Nata [24]2 years ago
7 0

Answer:

Static.

Explanation:

A local variable can be defined as an argument passed to a function or a variable that is declared within a function and as such can only be used or accessed within the function.

This ultimately implies that, a local variable is effective whilst the function or block is being executed (active).

Basically, all local variables can only be a member of either the register storage, static or auto (dynamic) categories in computer programming.

A local variable that is declared as static causes the program to keep the variable and its latest value even when the function that declared it is through executing.

Hence, the memory of a local variable that is declared as static remains for the lifetime (duration) of the whole program.

You might be interested in
When you write a C# program that stores a value in a variable, you are using temporary storage; the value you store is lost when
beks73 [17]

Answer:

The name for this kind of storage is Volatile memory.

Explanation:

Temporary storage is a memory which is freed or deleted when program ends or your computer accidentally losses power and the specific name for that  storage is volatile memory.

5 0
3 years ago
You have been asked to write a program that will ask the user for his or her pizza order and display it. The order will include
Dvinal [7]

Q asks to write

1. input statement that prompts the user for the type of cheese:

What kind of cheese you like?

Input TYPE OF CHEESE

2. Print statement that clearly displays the output message related to the type of cheese:

Print "Pizza has" TYPE OF CHEESE "type of cheese."


5 0
3 years ago
What 2 major agricultural inventions did jethro tull create?
kenny6666 [7]
Jethro Tull created the seed drill, and improved plough.
Hope it helps
5 0
3 years ago
Read 2 more answers
What type of malicious procedure involves using sniffing tools to capture network communications to intercept confidential infor
Alex_Xolod [135]

Answer:

eavesdropping

Explanation:

Eavesdropping is as an <em>electronic attack</em> where digital communications are intercepted by an individual whom they are not intended. This is done in two main ways: <em>Directly listening</em> to digital or analog voice communication or the <em>interception or sniffing</em> of data relating to any form of communication.

4 0
3 years ago
What is an example of an assumption and dependency that an automated stocking application project would include in an SRS?
Natasha2012 [34]

Explanation:

software must be used by well trained staff.

6 0
2 years ago
Other questions:
  • Driving while wearing headphones or earphones
    12·2 answers
  • The color pattern in which marine organisms are light on the bottom and dark on the top of their bodies camouflaging them agains
    11·1 answer
  • Which one is correct
    8·1 answer
  • Point out the wrong statement:
    7·1 answer
  • 2. Select the things you can do when working with rows in columns in a spreadsheet:
    5·1 answer
  • What is the use of a piano​
    10·2 answers
  • 2. The internet offers a great source of information; however, how are
    9·1 answer
  • URGENT HELPP<br> WILL MARK BRAINLIST
    6·1 answer
  • Discuss the advantages and disadvantages of supporting links to files that cross mount points (that is, the file link refers to
    6·1 answer
  • In cell b12 create a formula using max f7nction to calculate maximum value in B4:B9
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!