What does it mean to say a variable is local to a function

Assignment Help Basic Computer Science
Reference no: EM131073694

What does it mean to say a variable is local to a function?

The choices are:

1. Main() can use it whenever it wants to, but no other functions can see or use it.

2. Only the function where the variable is declared can see and use it.

3. No functions can see or use it.

4. Every function can use it.

Reference no: EM131073694

Questions Cloud

Increase in production quantity and total revenue : If Sean's Fire Engines were a competitive firm instead and $125,000 were the market price for an engine, decreasing its price from $125,000 to $75,000 would result in an increase in production quantity and total revenue.
Comment on discoveries : Find out what they are, how they work, and post your findings here. Be sure to review the posts of your classmates as well and comment on their discoveries.
The marginal tax rate on wage income fell dramatically : During the Reagan administration, the marginal tax rate on wage income fell dramatically. Forexample, the top rate was sliced from 70 to 33 percent. Use the demand theory of healthinsurance to predict the effect of this change on the quantity demande..
Passing variables between functions : What is a logical use for global variables? The choices are: 1. You don't have to keep passing variables between functions.
What does it mean to say a variable is local to a function : What does it mean to say a variable is local to a function? The choices are: 1. Main() can use it whenever it wants to, but no other functions can see or use it.
The economy is no longer in an equilibrium : Comment on the following statement: “When aggregate demand falls below the current output level, an unintended inventory accumulation occurs and the economy is no longer in an equilibrium.”
What is cause of ringing seen on top of rectangular pulse : What is the cause of the "ringing" seen on top of the rectangular pulse shown in figure 2? What happened to the rectangular pulse in the frequency domain? What property does this represent?
Appropriate level-writer analyzes and synthesizes theory : Imagine that you and a group of your fellow classmates own a company that manufactures cheap sunglasses. To lower production costs, you want to move your factory from your developed country to a more cost-effective nation. At an appropriate level, th..
Positive and negative incentives for compliance : Class, there are both positive and negative incentives for compliance; we have talked primarily about negative incentives (fines, negilgence lawsuits, jail time).

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd