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...
In 1997 IBM supercomputer Deep Blue
a. defeated world chess champion Gary Kasparov in a six-game match. b. proved the existence of God. c. drove a minivan across the United States. d. designed the Pentium chip. e. replaced John O’Leary as Chief Financial Officer of IBM.
When the system spends most of its time swapping pieces rather than executing instructions it leads to a condition known as _________
Fill in the blank(s) with the appropriate word(s).