I have updated your answer of first question !
Merge pull request #1 from saurabhhack123/patch-1

I have updated your answer of first question !