|
|
|
|
static makes the function have internal linkage which means it will only be available in the current translation unit. static the function will have external linkage which means the function is available to your whole program. All you need to do is to declare the function and then use it. |
|
| so static var and static func is different? |
static keyword only changes the linkage.