1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Mice21 [21]
3 years ago
11

The scope of a variable declared outside of any function is:

Computers and Technology
1 answer:
Marta_Voda [28]3 years ago
5 0

Answer:

a) Global

Explanation:

The scope of a variable declared outside of any function is Global.

Let us consider an example:

int g;

int  add(int a,int b){

   return a+b;

}

int  subtract(int a,int b){

   return a-b;

}

Here the variable g is defined outside any function and is accessible anywhere within the program. This is a global variable.

Variables defined within each function - a,b on the other hand have a local scope are are visible only within their respective function bodies.

You might be interested in
How many bits must be "flipped" (i.e., changed from 0 to 1 or from 1 to 0) in order to capitalize a lowercase that’s represented
Alexxandr [17]
Only one ... the third bit of the byte, numerical 32.  Every lower-case letter 
has a '1' in that place.  If that bit is changed to '0', then the code represents
the upper-case form of the same letter.
8 0
4 years ago
Read 2 more answers
How would you like your social media profiles/personas to be treated in the event of your death? why?
White raven [17]
Depends on the person really. personally i would like it all to be kept for memories but never used anymore
7 0
3 years ago
Read 2 more answers
Python uses standard order of operations to evaluate equations. True False
Strike441 [17]

Answer:

False... Can you give me brainliest

Explanation:

6 0
3 years ago
Which statement about the Weather Bar in the Outlook calendar is true?
NARA [144]

Answer:

C

Explanation:

3 0
3 years ago
The intranet is the same as the internet. true false
galina1969 [7]
False, the intranet <span> does not refer to a network that supports communication between different organizations.</span>
5 0
3 years ago
Read 2 more answers
Other questions:
  • "the most common way to access the internet is through ________."
    5·1 answer
  • Write, compile, and execute a C program that calculates and returns the fourth root of the number 81.0, which is 3. (hint: The f
    6·1 answer
  • . what action does the following a default operator perform? int a, b, c; a = b + c;
    14·1 answer
  • Discuss how does a Modulus Operator function
    7·1 answer
  • Distinguish between exponentiation and modulus. Be specific.
    5·1 answer
  • Write a program to input value of three sides, to check triangle is triangle is possible to form of not​
    11·1 answer
  • Please help me please help me.​
    10·1 answer
  • Ive already tried "word" and "star"
    12·1 answer
  • How to Calculate the area of a rectangle in python
    13·2 answers
  • This is more a question for Brainly,
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!