What is pure virtual function? C++

Q

What is pure virtual function? C++

✍: Guest

A

A class is made abstract by declaring one or more of its virtual functions to be pure. A pure virtual function is one with an initializer of = 0 in its declaration

2012-01-19, 2772👍, 0💬