結果 : c inheritance example