Shell interview question

based on CAR