could someone please help me understand why s2 and s3 dont get the value passed via constructor :
Because you set them before the c'tor is invoked, not inside the constructor. The fact that you put them after the c'tor in your source file doesn't mean they get executed after the c'tor is run. All those initializer lines are run each time an object is created, before any c'tor is invoked, regardless of where they're placed in the file.
Montana has cold dark nights. Perfect for the heat from incandescent light. Tiny ad: