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
spin [16.1K]
4 years ago
5

How would a static local variable be useful?

Computers and Technology
1 answer:
Lelechka [254]4 years ago
8 0

Answer: Static local variable is a variable that is initialized as static only one time inside a function and whenever it is called in that function it will be accessible.

Explanation: Static local variables are very useful variables which are declared as static in a particular function. Static local variable is initialized only one time in a function and whenever the function in which it has been declared ,the value of the variable will be accessible by as many times it has been called in the function in which it is declared.

You might be interested in
Society that lives a nomadic life and relies on domesticated animals.
Georgia [21]

Answer:

The answer is Pastoral society

Explanation:

  • Pastoral originates from the Latin word pastor that's meaning is shepherd.
  • The term Pastoral Society stands for a nomadic band of people looking for food with a herd of domesticated animals.
  • It consists of pastoralists that means people whose lives are focused on grazing the land and caring for herds of animals.

3 0
3 years ago
You typed the word "weather" when you meant to type the word "whether." When will Writer or Word flag this as a misspelling or a
maria [59]

Answer:

It depends on the structure of the sentence.

Explanation:

This will be shown as grammatical mistake because both the spellings are correct. If we write the word weather instead of the whether, Ms word shows the grammatical mistake. This is because, if we want to write the word whether, we should use or in our sentence. Both of these words are comes together.

Example

I will take a leave whether its raining or not.

In above sentence, both whether and or comes together. If we write weather instead of whether it just show the grammatical mistake in the sentence.

4 0
3 years ago
Read 2 more answers
A force of 50n acts on a body of mass 5kg. calculate acceleration produced .​
guapka [62]

Answer:

Force = 50n

mass = 5kg

Force = m * acc

50 = 5 * A

A = 50/5

A = 10 m/s^2

HOPE IT HELPS!!!

Explanation:

7 0
3 years ago
Write a program that reads in ten numbers from the user and displays the distinct numbers. If a number entered by the user appea
Jobisdone [24]

Answer:

Here you go :)

Explanation:

Change this however you'd like:

array = []

for n in range(10):

   x = int(input("Enter integer: "))

   array.append(x)

dup = set(array)

print(", ".join(str(i) for i in dup))

7 0
3 years ago
The soft-tissue lining of oysters and clams creates pearls. Is a pearl a mineral?
Kisachek [45]
<span>A pearl is not a mineral because it is created artificially. It is a gemstone, not a mineral because it is a composite of mineral Aragonite and a protein compound which is called conchiolin. Pearls are formed by organic and living organisms which is preserved to become a gemstone.</span>
3 0
3 years ago
Read 2 more answers
Other questions:
  • Which of the following STEM discoverers developed a new type of computer hardware?
    11·1 answer
  • When a user logs on to a windows 7 computer using remote desktop, users that are logged on locally are unaffected.?
    10·1 answer
  • As we learned in the unit, basic speech is developed during the toddler years. To what extent do you think a toddler’s speech is
    7·1 answer
  • MICR is an input or output devices
    5·1 answer
  • Jimmy wrote the procedure scoreToGrade which accepts as a parameter score - a quiz score in the range 0-100. The procedure is su
    8·1 answer
  • Who are the people responsible for maintaining and controlling computer networks within an organization?
    10·1 answer
  • What is artificial Intelligence ?
    11·2 answers
  • Builder Software is used to create _____? answers: 3d digital art design for cameras audio special effects
    5·2 answers
  • Write a simple program that takes in a numerator and denominator and then computes the GCD for that fraction. You can assume tha
    14·1 answer
  • What is a "Top-Level Domain Name"?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!