Intel Corporation Interview Question

Q. explanation of cache coherence based on MESI protocol. Q. basic code in c and debug. ways to improve code.