| Start |
|---|
Function Prototype Scope Note that you get puzzling error messages if you introduce a type name in a prototype: With GCC 6.3.0, this code (source file Place the structure definition before the function declaration, or add |
| Block Scope An identifier has block scope if its corresponding declaration appears inside a block (parameter declaration in function definition apply). The scope ends at the end of the corresponding block. No different entities with the same identifier can have the same scope, but scopes may overlap. In case of overlapping scopes the only visible one is the one declared in the innermost scope. |
File Scope |
| Function scope Function scope is the special scope for labels. This is due to their unusual property. A label is visible through the entire function it is defined and one can jump (using instruction
A possible usage is the following pattern to realize correct complex cleanups of allocated ressources: Labels such as |
Read Article
https://develop.horje.com/learn/1434/reference