Vidya Lakshman wrote:what is the output of the above code & explain the working?
The best way for you to find out the output would be to run it yourself.
So run it, and try and work out why the output is what it is. Then come back to us if you can't work it out, and we can help you.