Which is the prototype for a pure virtual function in class TVGame called StartGame which has no inputs and returns a bool?
```class TVGame
{
protected:
string host;
string game;
public:
TVGame(string h, string g);
GoToCommercial();
// add the StartGame function here
};
class Jeopardy : public TVGame
{
private:
int score;
public:
Jeopardy(string h, string g, int s);
// add StartGame function here
};```
A. bool virtual StartGame()
B. virtual bool StartGame() = 0;
C. virtual bool TVGame::StartGame(string) = 0;
D. bool virtual TVGame::StartGame(string) = 0;
B
You might also like to view...
How does Goal Seek differ from traditional what-if analysis?
What will be an ideal response?
A reference line is keyed is one blank line below the ____.
A. date B. letter address C. salutation D. subject line
The Handout Master has four large placeholders to represent slides and six small placeholders for footer information.
Answer the following statement true (T) or false (F)
The Linux operating system comes with a native cryptography system installed.
Answer the following statement true (T) or false (F)