Consider the following class declaration and answer the question that follows:
Anuj has been asked to display all the students who have scored less than 40 for Remedial Classes.
Write a user defined function to display all those students who have scored less than 40 from the binary file “Student.dat” assuming it stores all the object of the class Student mentioned above.