?
Which of the following represents the correct explicit call to a constructor of class A?
Which of the following represents the correct explicit call to a constructor of class A?
class A{
int a;
public:
A(int i)
{
a = i;
}
}
class A{
int a;
public:
A(int i)
{
a = i;
}
}
Join the Discussion
Login to post a comment or share your explanation.
Login