Which of the following is the correct syntax to call the parameterized constructor of class 'sample' from the constructor of class 'sub'?
class sample {
public:
sample(int a) {}
};
class sub {};
Reveal answer
Fill a bubble to check yourself