Transfer of shares from one account to another ?

#1
I know that we can transfer shares from one demat account to another. My real question is :

Suppose A bought 100 lots for rs 200 ..and decide to transfer this to another demat account, X.

1.A transfers it to X, will the money he bought the lots for credited back to A`s account ?
2. While the transferring of shares take place, lets say price of the lot moves to Rs210 will X recieve the shares at Rs210 or at Rs200. A bought it for.
3. How will X recieve the shares, will he pay me for the share transfer ? What will he pay to get the shares??