You create a class named Car with private non-static data fields named year, make, and price. The Car class contains a public non-static function named setMake()whose header is void Car::setMake(string carMake). Within this function, which statement correctly sets an object’s field to the value of the parameter?
a. make = carMake;
b. this->make = carMake;
c. carMake = make;
d. Two of the above are correct.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.