C++ Programming and Technical

class base
{
public:
void baseFun(){ cout

Read Solution (Total 0)

C++ Other Question

class base
{
public:
int bval;
base(){ bval=0;}
};
class deri:public base
{
public:
int dval;
deri(){ dval=1;}
};
void SomeFunc(base *arr,int size)
{
for(int i=0; i
class base
{
public:
virtual void baseFun(){ cout