In a real shooting war, India will stomp Pakistan like a messy bug. It might or might not go nuclear, depending on India’s fifth column attacks on Pakistan nuclear assets.
But India will win easily. The aftermath will not be pretty by anybodies standards.
You are assuming that China doesn't enter on their close allies side, Pakistan.