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
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
Social Sciences,
1 month ago
Environmental Sciences,
1 month ago
Chemistry,
2 months ago
India Languages,
10 months ago
Science,
10 months ago