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

  What is the final value of loopcount

What is the final value of loopCount after control exits the following loo? loopCount = 1; NL while ( loopCount

  A large software development company

Suppose you are an internal investigator for a large software development company

  How would you describe the process of certification

How would you describe the process of certificatio Explain your thoughts regarding the process of accreditation. Is it a formality, or will it guarantee that PVSS will actually correct the remediation finding? Would this opinion regarding accreditati..

  Loop control variable is not modified by every iteration

1.Describe the three elements that must be included in order for a loop to perform correctly. What will happen if these statements are not included? Provide examples.

  Create a program to keep track of the participants

Create a program to keep track of the participants in a triathlon. Your program will keep track of the times in three events: Running, Swimming, and Biking.

  Write an application that does the following

Write an application that does the following: (1) fill an array with 50 random integers; (2) loop through the array, displaying each value, and count the number of negative values

  Explain why maintaining the state is an essential part

Explain why maintaining the state is an essential part of any Web application. Present a brief summary of the techniques which are available for a developer to achieve this goal. How secure are these different tools ? When would you use the one but n..

  Business environment impacted development telecommunication

Describe in scholarly detail how business environment has influenced development of telecommunications technology.

  Summarise three functions carried out by this professional

Submit a paper in which you address the concept of ‘professional bodies' as it relates to the technology industry. To do this, first explain what is meant by ‘professional bodies'

  Calculate the fugacity of methane in a mixture of 80 mol%

Using the Lewis fugacity rule, calculate the fugacity of methane in a mixture of 80 mol% meth- ane and 20 mol% ethane atT5190.6 K andP532.2 bar.

  Introduction to wireless communications

After reviewing the concepts, pictorially model the TCP/IP protocol against the 7-layer OSI model. In your depiction, include the common protocol sections that fit in the various levels.

  Assess an organisation information system

Journal task is to assess an Organisation Information System, and write a report. The assessment should focus on the various components of business systems

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