What will be the output of the following program? #include<iostream.h>
class CuriousTab
{
int K;
public:
void CuriousTabFunction(float, int , char);
void CuriousTabFunction(float, char, char);
};
int main()
{
CuriousTab objIB;
objIB.CuriousTabFunction(15.09, 'A', char('A' + 'A'));
return 0;
}
void CuriousTab::CuriousTabFunction(float, char y, char z)
{
K = int(z);
K = int(y);
K = y + z;
cout<< "K = " << K << endl;
}
Correct Answer: The program will print the output M = -61.