Source: https://www.scaler.com/topics/c/scope-visibility-lifetime-of-variable-in-c/.pdf