Step: 2 Edit and save Source file
a) Static members must be defined before use . In the current
code snippet, the line was marked out, and note the error message
"undefined reference to Base::mystat".
b) In the following code, static member was defined.
c) Edited code module: