Explanation : Full = N, empty = 0, mutex = 1
Initially buffer will be empty, so consumer should not start first, so options B, D are eliminated.
With option A consumer will never consume the item, so it is wrong.
Option ‘C’ is the correct answer which proper functionality of produce and consumer.