What is the significant of * in this line please ?
CourseClass::CourseClass(Professor* professor){
}
What is the significant of * in this line please ?
CourseClass::CourseClass(Professor* professor){
}
It says the function argument is of pointer type.
void foo1(int bar) { } // foo1 accepts an integer argument
void foo2(int *bar) { } // foo2 accepts an integer pointer.