Question: b #include using namespace std; class SobolooSoba { int Komi (int num1,int num2) { return num1+num2; } int Komi (int num1,int num2, int num3) {
b
#include
using namespace std;
class SobolooSoba {
int Komi(int num1,int num2) {
return num1+num2;
}
int Komi(int num1,int num2, int num3) {
return num1+num2+num3;
}
};
int main(void) {
SobolooSoba obj;
cout< cout< return 0; } The question above contains a bug, correct it and determine the output. (7 marks) AN c. Determine the access types of Komi(int num1,int num2, int num3) and Komi(int num1,int num2) before and after the correction in b and explain why you choose that access type (6 marks)AN
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
