The correct option is B If shell is completely filled with sand and B is opened then centre of mass falls initially.
When sand starts falling from A, CM falls down from each centre of hollow sphere then it again rises and finally when sand is fully filled, centre of mass is again at centre of sphere.
Now when B is opened, CM again starts falling down.