Hi,
You have to pass the size of the array also as a parameter.
struct Student{
string name;
int id;
string courseCode;
};
void ProcessStudent(Student * stu[], int Cnt)
{
}
int main()
{
Student *student[3];
student[0] = new Student();
student[1] = new Student();
student[2] = new Student();
ProcessStudent(student,3);
}
Best Regards
Muthuraja