What is wrong with the following code?

```class TVset
{
private:
int screen;
bool HiDef;
public:
TVset( ){};
int Getscreen(int scr);
};
int main( )
{
TVset myTV;
return 0;
}```
A. Nothing is wrong with this code.
B. the constructor does not initialize private values.
C. there is a semi-colon after the class declaration.
D. There are no set or get functions.

A

Computer Science & Information Technology

You might also like to view...

A Unix directory contains

A. names and sizes of files B. names and inode numbers of files

Computer Science & Information Technology

Why do you think integer expressions must be preceded by an @ sign?

What will be an ideal response?

Computer Science & Information Technology