Onebill software interview question

oops ,c++ oriented question,and about my project