// Function displays course information
// instructor defaults to Staff
// enrollment defualts to 30
// main() demonstrates function can be called three ways
#include<iostream>
using namespace std;
int main()
{
   void displayCourseInfo(char, char* = "Staff", int = 30);
displayCourseInfo("ENG101");
displayCourseInfo("PSY151", "Bossert");
displayCourseInfo("CIS200", "Edwards", 24);
return 0;
 }
 void displayCourseInfo(char course, char* instructor, int enrollment)
 {  cout << course <<  " taught by "  << instructor <<
  " enrollment " << enrollment << endl;
}
When I try to run this code I get this error message. It says that I cannot convert *const char to char. Thank you for your time and help.
 
     
    