Question: Question :1 Question 1 12 Points Write a function int wrong(char key].char results[]) The function will be used to grade multiple choice exam. The exam
Question :1

Question 1 12 Points Write a function int wrong(char key].char results[]) The function will be used to grade multiple choice exam. The exam has 5 questions, each answered with a letter in the range 'a', to 'f. All the answers for a student are stored in the character array results. The key answer is also stored in array key. Both arrays (results) and (key) are passed to the function wrong as parameters. The function wrong returns the numbers of false answers given by by the student. For example if the key is=['a','b', 'a','d', 'e') and the results is f'a','c', 'a','d','f'}. the function return 2 (since there are 2 wrong answers). Text Style AA BIU A use the editor to format your answer Vord count: 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
