Question: char astGendes ( ) { return gender; } isAuthor string print ( ) I seturn name ( + circ left
char astGendes
return gender;
isAuthor
string print
I
seturn name circleftright gendes leftcircright at casth;
class Book
I
private:
string name;
Author anthos;
double prices;
public:
Bookstring name, Author author, double price
no defeuti construator exists for class A Anthor?
Search Online
string getilame
t
return nama;
Author getauthos
How can I fix this error for no default constructor
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
