What is wrong with the following code?

```int TVset::GetScreen(int scr)
{
screen = scr;
}

int main( )
{
TVset myTV;
int myscreen;
myscreen = myTV.GetScreen( );
}```
A. should be myscreen = myTV->GetScreen();
B. Nothing is wrong with the code.
C. GetScreen does not return a value.
D. None of the above.


C

Computer Science & Information Technology

You might also like to view...

The Web font format that supports Internet Explorer is _______.

A. TrueType/OpenType B. Embedded OpenType C. Scalable Vector Graphics D. Web Open Font Format

Computer Science & Information Technology

Output operations are supported by class ______________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The ____ is the start table data tag.

A. B. C. D.

Computer Science & Information Technology

?You cannot send a presentation using Outlook from within PowerPoint.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology