answersLogoWhite

0

Describe the concept of Scope :

In

computer programming

, a

scope

is the context within a

computer program

in which a

variable name

or other identifier is valid and can be used, or within which a

declaration

has effect. Outside of the scope of a variable name, the variable's value may still be stored, and may even be accessible in some way, but the name does not refer to it; that is, the name is not

bound

to the variable's storage

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Why scope resolution is required in c?

Scope resolution is not required in C because C does not support namespaces. All non-local names are declared in the global scope.


What is the scope mount for a Stevens model 325-c?

what is the scope mount for savage 325 c


Use of scope resolution operator in C programming?

:: operator can not be used in C.


What is the scope of a static function in C?

The source file it is in.


Can the scope resolution operator be overloaded in C plus plus?

No.


What is Variable Scope?

The scope of a variable is the range, or area, in which a variable exists. // this c is global and can be referenced from anywhere int c = 1; void foo() { // this c is local to function foo and can't be referenced from the outside int c = 2; } void bar() { // if we try to reference c here, we get the value 1 from the global variable }


What are C scope mainly used for?

A C scope is an application that helps programmers to easily administer work with large amount of program code. It enables specific and targeted searches so that debugging or updating can easily be carried out.


What is the use of break in c programming?

The break statement is used to exit the nearest enclosing scope. Control passes to the first statement that comes after that enclosing scope.


J C Higgins model 36 with 4 field scope who made it?

J C Higgins /Sears High standard


What is mean by scope in c language?

Scope is generally defined as variable or functions life... Generally the life is between the opening braces and close braces "{ }" ... If thee variable is defined as "static" and if is defined outside a function then its scope is in same file. if defined as global then its scope is across the files.


What is static char in C?

static storage class in C tells that: The variable will have the default value as zero. The variable scope will be the file in which it is defined. RaVi


What variable scope is preferable in modules to avoid overwriting existing data?

C: static other: (default)

Trending Questions
If you are able to download spore creature creator will your computer be able to run the entire game? What is the significance of the delta f over f parameter in frequency modulation? Can you get broadband internet at BT deals? What is the difference between high density and low density? Write difference in the form of a table between Ping and Trace Route command? Is making the computer herbinate or shut down is better? Meaning of upload in computer language? Answer in 500 words about how can technology be harmful? Where can you purchase computers scanners? Can a computer kill another computer - as in force that computer to explode - because mine just exploded and it's last message was 'connection established' And I'm assuming that was another computer? How do you give the lost items back to the kids on imagine teacher the game? What is the best way to dehydrate flowers? What are the four main purposes of information? Can a machine with a single DNS name have multiple IP addresses If so give a possible example If not then explain why not? What is the process called when a new set of instructions begin before the previous set is finished? How long does it take to obtain a BS in computer science? What management organization and technology factors were responsible for mcafee's software problems? Why does it cost more to refine heating oil then gasoline? How much is an 1889 Witte Hardware Iron Bell? What is the minimum hardware components required for the POST to perform?