In your example, When you inactivate Task B, Task C will NOT automatically link to Task A.
Assuming Task B is the ONLY predecessor for Task C, Task C will now behave as a stand-alone task, which means that it will revert to the project start date or any other constrainint you have set on the task itself.