Dyskusje Q&A
Create obj with loop
0 głosów
1 OdpowiedźWe can save object into file
2 głosów
1 Odpowiedź#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 głosów
1 OdpowiedźPopularne dzisiaj
Python and unsigned int
0 Votes
Saturn League badge
1 Votes
Lua course?
1 Votes
certificate
1 Votes
Adding an image to my html
0 Votes
Not able to activate account
0 Votes
CSS
1 Votes
Sololearn keeps crashing
0 Votes
About Advanced Courses
0 Votes