Question: Which of the function declarations in this code are probably not const correct? class Movie { public: Movie(const string& Title, const string& Director); Movie (const
Which of the function declarations in this code are probably not const correct?
class Movie { public: Movie(const string& Title, const string& Director); Movie (const Movie&); string getTitle(); void getDirector () const; void setTitle(string aTitle); void setDirector (const string& aDirector) const; private: string theTitle; string theDirector; }; ostream& operator<< (ostream&, const Movie&); | a | first constructor | |
| b | copy constructor | |
| c | getTitle | |
| d | getDirector | |
| e | setTitle | |
| f | setDirector | |
| g | theTitle | |
| h | operator<< |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
