Assertion: variable | /r/HasProperty | visible
Facets:
value: to any function
type: TRANSITIVE-OBJECT
value: to every other compilation unit
type: TRANSITIVE-OBJECT
value: within the file
type: LOCATION
Source sentences:
text: The scope of a variable is the portion of the program code for which the variable's name has meaning and for which the variable is said to be "visible".
text: The scope of a variable is the portion of the program code for which the variable's name has meaning and for which the variable is said to be "visible".
text: However, variables declared outside a function have "file scope," meaning they are visible within the file.
text: Variables declared with file scope are visible between their declaration and the end of the compilation unit ( .c file) (unless shadowed by a like-named object in a nearer scope, such as a local variable); and they implicitly have external linkage and are thus visible to not only the .c file or compilation unit containing their declarations but also to every other compilation unit that is linked to form the complete program.
text: However, the variable is visible to any function called from within the block.