No, IP assigned to a domain doesn't get assigned to a subaccount, if you assign a domain to a subaccount.
You have to assign the IP separately to the subaccount.

Only Subaccount user can link the assigned IP to the assigned domain.