Attached here is a very simple serial program in C which counts the number of occurrences of a character in a string. Modify this program so that it records the run time for the output. Then parallelize the code to OpenMP and MPI. Record the run times for the serial, OpenMP, and MPI versions and explain differences in the run times.
Hey, I have a major in Computer Science. I know parallel programming and I have worked on both OpenMP and MPI. I will complete the whole work in the given deadline. Looking forward to having a positive response.