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
Write a SELECT statement that returns the same result set as this SELECT statement. Substitute a subquery in a WHERE clause for
AleksAgata [21]

Answer:

SELECT DISTINCT VendorName FROM Vendors

WHERE VendorName= ANY (SELECT VendorName FROM Vendors JOIN Invoices ON Vendors.VendorID = Invoices.VendorID) ORDER BY VendorName;

Explanation:

All bold faced words are sql keywords for different purposes. The subquery return the all values which matches the join condition  and main query will choose only distinct values and make them in order of VendorName.

There many other queries also return the same result as returned by given query.

8 0
2 years ago
Cuales son los tipos de galeria virtual
Lelu [443]
¿Está usted preguntando cómo la galería virtual es importante, o el impacto que tiene.
5 0
3 years ago
1. Write Python code to implement the following:
ZanzabumX [31]

Answer: no why huh hmmmmmmm

Explanation:

6 0
2 years ago
Read 2 more answers
Alice posts a key for encrypting that anyone can access. Bob uses that key to encrypt a message, then sends it to Alice. When Al
UNO [17]

Answer:

Public key encryption

Explanation:

DescriptionPublic-key cryptography, or asymmetric cryptography, is a cryptographic system that uses pairs of keys: public keys which may be disseminated widely, and private keys which are known only to the owner.

5 0
3 years ago
Write a C++ program that will ask the user for the name of a data file.
rosijanka [135]

Answer:

Explanation:

Enter information,

Enter name: Bill

Enter roll number: 4

Enter marks: 55.6

Displaying Information,

Name: Bill

Roll: 4

Marks: 55.6

THIS IS AN EXAMPLE I HOPE THIS HELPS YOU!!

4 0
2 years ago
Other questions:
  • Why can't you test a program for run-time errors when it has compile-time (syntax) errors
    6·1 answer
  • Tim has an old server computer that his company uses as a backup. One of the hard drives has gone bad and needs to be replaced.
    13·1 answer
  • Rate is how fast a screen updates the information being displayed.
    6·2 answers
  • How can i turn on my prinfer without getting up
    12·2 answers
  • Who put forward the idea of nanotechnology to the world?​
    6·1 answer
  • A_________is a way for students to keep track of information during research.
    11·1 answer
  • Which statement describes Augmented Reality (AR) technology?
    12·1 answer
  • How is primary storage different from secondary storage? Select the TWO correct statements. The CPU can only read and write data
    12·2 answers
  • Decision support systems help managers use structured data to identify problems and find solutions to business-related problems.
    10·1 answer
  • A transistor may be used as an amplifier in an electronic circuit. <br> Select one: True False
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!