Diff. in output?

please explain the concept in video at 02:33:58
i couldn’t understand that.!