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

  Design a system of three lans with four bridges

Design a system of three LANs with four bridges. The bridges (B1 to B4) connect the LANs as shown below. Show diagram in Word and use any diagramming tool to demonstrate the design.

  Determine whether or not the two conditions are equivalent

Determine whether or not the two conditions are equivalent - that is, whether they will be true or false for exactly the same values of the variables appearing in them.

  Example of a working virtual circuit whose path traverses

Packets sent along this path should not, however, circulate indefinitely.

  Create a complete alternative css style

The topic of your site can be any of your choosing. Pick something you have an active interest in, a hobby, a sport you play, a group or club you belong to, or any similar topic. Once you have selected your topic YOU MUST CONFIRM THIS WITH YOUR TU..

  Compare and contrast pop e-mail to web-based e-mail

Compare and contrast POP e-mail to Web-based e-mail systems in terms of control, security, and accessibility.

  Describe the effect on equilibrium price and quantity given

Writing assignments are to be completed in APA format, double spaced, and 1-2 pages in length. In your response, be certain to answer all questions clearly and concisely

  What is an advantage of virtualization

What is an advantage of virtualization? List and explain one type of virtualization. What are three of the major data functions performed by a DBMS? Briefly explain the functions. Why are internal threats a major challenge for organizations? How can ..

  What is the message

The following padded ASCII-coded message is stored in successive memory locations in a computer.

  Digital commerce and ebusiness short paper

digital commerce and ebusiness short paper

  Write a program that places the names in an array

The USPres.txt contains the names of the 44 U.S. presidents in the order in which they served. write a program that places the names in an array and displays all presidents for a requested range of numbers.

  An opportunity to take advantage of economies

Most managers and executives believe their firm has an opportunity to take advantage of economies of scale; however, many firms do not. Slect one of the questions below and respond. How could you determine if your firm has economies of scale?

  Town has two burger restaurants located across the street

A small midwest town has two burger restaurants located across the street from each other: 'Burgerama' and 'The Burger Brothers'. As both restaurants compete for the same customers, they are both considering offering a larger burger with more topping..

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