The default type for missing declarations like the following is int:
const k =0; //'int' type deduced; deprecatedstatic j =5; //ditto
Though still supported by the C++ standard, this convention is now considered deprecated and hence – should be avoided. Instead, explicit type names should be used:
const int k =0; static int j =5;