answersLogoWhite

0


Best Answer

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

βˆ™ 11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the scope of c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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)