S
subramanian100in
In the book C++ Primer(Fourth Edition) by Stanley Lippman, the
following is mentioned in page 469 section '12.6.2 static Data
members':
Unlike ordinary data members, static members are not initialized
through class constructor(s) and instead should be initialized when
they are defined.
I do not understand this sentence. Kinldy explain what it means with
example.
Thanks
V.Subramanian
following is mentioned in page 469 section '12.6.2 static Data
members':
Unlike ordinary data members, static members are not initialized
through class constructor(s) and instead should be initialized when
they are defined.
I do not understand this sentence. Kinldy explain what it means with
example.
Thanks
V.Subramanian