If you turned in a solution in class, you already got credit for this assignment. Otherwise, answer the following and submit to the E20 box on Canvas.

Exercise 20

Give the call graph for the following program according to CHA:

class SupClass{
public:
	virtual int fun(SupClass * in){
		in->fun();
	}
};

class SubA : public SupClass {
	virtual int fun(SupClass * in){
		in->fun();
	}
};
class SubB : public SupClass {
	virtual int fun(SupClass * in){
		in->fun();
	}
};
int main(){
	SupClass * s = new SubA();
	s->fun();
}