This is default value initialisation. If there's no value between the {} the variable is initialised to the default value for the type of the variable - which is 0 for long. It's good practice to initialise variables when they are defined. Variables of a class type should be initialised via their default constructor/constructors.

See https://en.cppreference.com/w/cpp/la...initialization