From the above code - which function call sets the size to 19?
```
class Television
{
private:
int size, model;
string make;
public:
Television() {size= 27; model = 2; make = “RCA”;}
void SetSize(int s){size = s;}
void SetModel(int mo){model = mo;}
void SetMake(string ma){make = ma;}
};
int main()
{
Television TV;
return 0;
}
```
A. TV.setSize(19);
B. TV.SetSize(19.5);
C. TV.SetSize(19);
D. TV.size is a private variable, it cannot be set this way.
C. TV.SetSize(19);
You might also like to view...
Which of the following is a disadvantage of putting the VPN on a firewall?
A. centralized control of network access security B. more configuration mistakes C. VPN and firewall use the same configuration tools D. Internet and VPN traffic compete for resources
The current location of a device can be pinpointed on a map through the device's _______________.
Fill in the blank(s) with the appropriate word(s).
Project planning includes all of the following except
A. specifying system objectives B. preparing a formal project proposal C. selecting hardware vendors D. producing a project schedule
After declaring a StreamReader variable, you can use the ____ method to open a sequential access file for input, which automatically creates a StreamReader object.
A. ReadText B. InputText C. GetText D. OpenText