c language For the following function exampleFunc which of t
c++ language
For the following function exampleFunc, which of the following is a valid overloadded function (Circle all valid, 1 pt) bool exampleFunc(int a, char b, bool c) bool exampleFunc(int x, char y, bool z) int exampleFunc(int a, char b, bool c) bool exampleFunc(int x, char y) int exampleFunc(int a) bool exampleFunc(char x, bool y, int z) int Func(int x, bool z} Which of the following shows the correct use of the scope resolution operator in a member function definition? Invltem::void setOnHand{int qty) void Invltem::setOnHand(int qty) An object\'s private member variables can be accessed from outside the object by public member functions any function the dot operator the scope resolution operator Assuming that soap is an instance of the Inventory class, which of the following is a valid call to the setOnHand member function? setOnHand(20); soap::setOnHand(20); soap.setOnHand(20); Inventory.setOnHand(20); Inventory::setOnHand(20); Assuming the following is a constructor for class SampleClass SampleClass::SampleClass(int x) (item = x;} define a SampleClass object called ohj1 that passes the value 20 to the constructor. Write the prototype and header for a function called calculate. The function returns nothing and should have three parameters: an int, a reference to a double, and a char (not necessary in that order). Only the int parameter should have a default argument which is 7. What is the output of the following program #include using namespace std; void showVar(); int main() {for (int count = 0; countSolution
1)ans)C,E
____________________
2)Ans)B
____________________
3)Ans)A
____________________
4)Ans)C
____________________
5)Ans)SampleClass obj1(20);
____________________
6)Ans)
Header : void calculate(int a=7 , double& b ,char c);
Prototype:
void calculate(int a=7 , double *b ,char c)
{
}
_________________________________
7)
Ans)
10
11
12
13
14
________________________________
8)
Ans)
10 12 0
10 12 -1
10 12 -1
_____________________Thank You

