Problem
Write a function called printStudentResult that takes two call-by-reference arguments that are pointer variables that point to the heads of linked lists. The nodes in the first linked list contain the students' names and their registration numbers. The nodes in the second linked list contain students' registration number and the grade obtained by the students. The function should search in the second linked list for the grades of the students whose registration numbers are present in the first linked list and print the student's name, registration number and the grade. Note that your function will neither create nor destroy any nodes.