Option A is straightforward to eliminate , the reason being there can never be a situation in case of safe state leading to deadlock, that’s why we study Banker’s algorithm
Coming to options C and D, when the system is in an unsafe state, we can’t really comment using the banker’s algorithm, so it is also eliminated.
So,only option B is remaining,so it has be right :)