Question: You are tasked with managing a collection of students, where each student has a variable number of scores. Define a `Student` structure that contains the student's ID, name, and a pointer to dynamically allocated memory for storing their scores. Write a C program that:
→ Dynamically allocates memory for 5 students.
→ For each student, dynamically allocates memory to store their scores (where the number of scores is different for each student).
→ Computes and prints the average score for each student.
→ Ensures all dynamically allocated memory is properly freed.