1 2 3 4 5 6 7 8 9 10 11 12
namespace Constants { double PI = 3.14; } int factor = 41; double result = Constants::PI * factor; return Constants::PI * factor; void func(int value) { return SomeClass(value, Constants::PI * value); }