The race condition occurs when
1. The two processes share the same variable and try to manipulate at the same time.
2. At most only one process is allowed inside the critical section. Hence, a race condition may also occur when more than one processes enter the critical section.
3. Mutual exclusion says that no other process is allowed to execute in the critical section when one process is already executing.
Hence, option (D) is the correct answer.