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. GetScreen does not return a value.
You might also like to view...
RAID-5 is also known as striping with parity, and provides fault tolerance
Indicate whether the statement is true or false
?____ tags are one type of real-time location system.
A. ?UPS B. ?RFID C. ?EFS D. ?FDE
System software includes all of the following except:
A. real-time operating systems B. stand-alone operating systems C. browsers D. utilities
In recursion, the statement that "solves" the problem is known as the _____.
A. return statement B. base case C. recursive call D. recursive step