0

I have a class Video that inherits from the class Multimedia. I know that this works:

Multimedia* multi;
Video* vid;
multi = vid;

But, I don't understand why the following code doesn't:

    Multimedia** m;
    Video** v;
    m = v;

error: invalid conversion from ‘Video**’ to ‘Multimedia**’ [-fpermissive]

0 Answers0