void displayStudent(Student s)
{
cout << s.id << " " << s.firstname <<" "<< s.surname;
}
your cout statement had single quotes in it and should have double quotes as in the above. double quotes represent strings terminated by a null character as where single quotes represent a single character not terminated by a null character
|