0
In the dining-philosophers problem with five philosophers and five forks, which measure prevents deadlock?
- AGiving each philosopher exactly one fork permanently
- BMaking every philosopher pick up the left fork first
- CAllowing at most four philosophers to sit at the table at the same time
- DLetting every philosopher hold a fork until he finishes eating
Correct answer: C