What is the error?

What will be an ideal response?
```
class B
{
public:
virtual void f();
};
virtual void B::f() {/*. . . */}
```


The error message given at the definition of void B::f() is “'virtual'
storage-class specifier illegal on function definition”

Computer Science & Information Technology

You might also like to view...

what is the value that is stored in n?

Given the following C++ statement, ``` int n = (4.0 + 6.1) * 7 + 5 / 2.0; ``` a. 37.85 b. 60.6 c. 73.2 d. 73

Computer Science & Information Technology

Describe the following three features of the Timeline: the Layers section, the Frames section, and the ability to change its appearance.

What will be an ideal response?

Computer Science & Information Technology

If you want to find the closest possible match, what do you enter in the Range_lookup text box in the Function Arguments dialog box?

A. TRUE B. CLOSEST C. NEAR D. FALSE

Computer Science & Information Technology

When programmers need to create several different examples of a class, each is known as an object.

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

Computer Science & Information Technology