Q:

Why is a pure virtual function initialized by 0 in c++?

0

Why is a pure virtual function initialized by 0?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

The reason =0 is used is that Bjarne Stroustrup didn’t think he could get another keyword, such as “pure” past the C++ community at the time the feature was being implemented.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now