The Banker’s algorithm is used

  • A. to rectify deadlock
  • B. to detect deadlock
  • C. to prevent deadlock
  • D. to solve deadlock

Answer: Option C