Computer Science, asked by venkatramavath8, 2 months ago

11.
What will be the output of the following program?
#include
struct MyData
public:
int Addition(int a, int b = 10)
{
return (a *= b + 2);
}
float Addition(int a, float b);
int main(){
MyData data;
cout <<data.Addition(1)<<"";
cout <<data.Addition(3, 4);
return 0;
}​

Answers

Answered by laksh080707
0

Answer:

#include<iostream.h>

class IndiaBix

{

   public:

   void Bix(int x = 15)

   {

       x = x/2;

       if(x > 0)

           Bix();

       else

           cout<< x % 2;

   }

};

int main()

{

   IndiaBix objIB;

   objIB.Bix();

   return 0;

}

pls mark as brainlist

Similar questions