The scope of a variable declared outside of any function is:
1 answer:
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
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.
Depends on the person really. personally i would like it all to be kept for memories but never used anymore
Answer:
False... Can you give me brainliest
Explanation:
False, the intranet <span> does not refer to a network that supports communication between different organizations.</span>