The correct answer is: B. a child of commercial dealing.
The law of contract is a body of law that governs agreements between parties. It is a child of commercial dealing because it developed in response to the need for businesses to be able to rely on the promises of their customers and suppliers. The law of contract provides a framework for businesses to enter into agreements and to enforce those agreements if necessary.
Option A is incorrect because the law of contract is not based on religion. While some religious texts may contain references to contracts, the law of contract is a secular body of law that is not based on any particular religion.
Option C is incorrect because the law of contract is not based on economics. While economics may play a role in some contractual relationships, the law of contract is not a branch of economics.
Option D is incorrect because the law of contract is not based on day-to-day politics. While political factors may sometimes influence the development of the law of contract, the law of contract is not a branch of politics.
In conclusion, the law of contract is a child of commercial dealing because it developed in response to the need for businesses to be able to rely on the promises of their customers and suppliers.