hrziisoft
BAN USER- 0of 0 votes
Answers3. What will be the output of the following program?
- hrziisoft in India
#include<iostream.h>
double BixFunction(double, double, double = 0, double = 0, double = 0);
int main()
{
double d = 2.3;
cout<< BixFunction(d, 7) << " ";
cout<< BixFunction(d, 7, 6) << endl;
return 0;
}
double BixFunction(double x, double p, double q, double r, double s)
{
return p +(q +(r + s * x)* x) * x;
}| Report Duplicate | Flag | PURGE
Ziisoft Nano Technologies Software Developer C++ - 0of 0 votes
Answers2. What will be the output of the following program?
- hrziisoft in India
#include<iostream.h>
void MyFunction(int a, int b = 40)
{
cout<< " a = "<< a << " b = " << b << endl;
}
int main()
{
MyFunction(20, 30);
return 0;
}| Report Duplicate | Flag | PURGE
Ziisoft Nano Technologies Software Developer C++ - 0of 0 votes
Answers1. What will be the output of the following program?
- hrziisoft in India
#include<iostream.h>
int BixFunction(int a, int b = 3, int c = 3)
{
cout<< ++a * ++b * --c ;
return 0;
}
int main()
{
BixFunction(5, 0, 0);
return 0;
}| Report Duplicate | Flag | PURGE
Ziisoft Nano Technologies Software Developer C++