This is giving same output

sir in this question both the outputs are same kindly correct my code if its wrong