Apologies if this is a basic question, I am new to C++. Let us say I have 2 classes, A and B, defined as below:
class A { public: A(int i) { a = i