Initializing the class member in class function gives me wrong output

Printable View