An armed conflict between India and China is unlikely and I'll give you 3 reasons for it:
1. The "disagreements" between the two countries have existed for a long time (like about certain areas between the two countries and borders, etc.) and it has never led to any major conflicts. In other words India has a much higher chance of going to war with Pakistan than with China.
....
Dear if India starts a war with Pakistan what do you think what will happen? If this happens china will probably be involved in this war from the side of Pakistan. Pakistan has a strong relationship with China and China has invested a lot of money in Pakistan. their biggest Project in Pakistan Is "CPEC" If this project successfully completed both countries will have a lot of advantages of it. China Shipping Costs will be reduced because of this project they will not have to travel a big giant sea for their importing their country needs CPEC will help them all that way to reduce that cost.
Some Days ago, I was listening to a piece of news that mentioned that now these days India is bothering the project and does not want the completion of this project. Actually, the thing is that we Pakistan and Indian people like each other and respect each other as well but the negative thing is that the border army, government, and social media play their bad role in spreading negativity to increase the conflicts between these two countries (Pakistan & India)