Without an explicit call on the base class constructor, the default constructor is invoked. So the output is as follows:
In base class, value is 7 In derived class, value is 5