Option A is valid, it will help to violate hold and wait condition. Whenever you request a new resource you release all the previously acquired resources.
Option B is Valid, it is the standard method used for removing circular wait.
Option D is valid, it will also remove Hold and Wait condition.
Hence, option C is the invalid option. And it is invalid also because if you release the resource, some or the other process will be able acquire it and complete execution. Hence, the process can request for a new resource without causing deadlock.