Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtisQ&A DiscussƵes
#include <iostream>
using namespace std;
class A{
public:
void f1();
};
class B : public A{
public:
virtual void f1();
}
int main()
{
A * obj = new B;
obj.f1();
}
Ques: can we write virtual before an overridden function from the base class?? if yes which f1() should it call base class f1() or derived class f1()???
0 Voto
1 RespostaQuente hoje
How to cast in python : 2
2 Votes
Bits
5 Votes
Why didn't I get it?
1 Votes
Polyalphabetic Cipher
0 Votes
Adding a photo
1 Votes
This error is showing.
0 Votes