Ziisoft Nano Technologies Interview Report
- 0of 0 votes
AnswersWrite a C++ Program to Find the Number of Digits in a number.
- hr@ziitech.com April 08, 2022 in India| Report Duplicate | Flag | PURGE
Ziisoft Nano Technologies Software Developer C++ - 0of 0 votes
AnswersWhat will be the output of the following program?
- hr@ziitech.com April 08, 2022 in India
#include<iostream.h>
class IndiaBix
{
int K;
public:
void BixFunction(float, int , char);
void BixFunction(float, char, char);
};
int main()
{
IndiaBix objIB;
objIB.BixFunction(15.09, ‘A’, char(‘A’ + ‘A’));
return 0;
}
void IndiaBix::BixFunction(float, char y, char z)
{
K = int(z);
K = int(y);
K = y + z;
cout<< “K = “ << K << endl;
}| Report Duplicate | Flag | PURGE
Ziisoft Nano Technologies Software Developer C++ - 0of 0 votes
AnswersWhat will be the output of the following program?
- hr@ziitech.com April 08, 2022 in India
#include<iostream.h>
class TestDrive
{
int x;
public:
TestDrive(int xx)
{
x = xx;
}
int DriveIt(void);
};
int TestDrive::DriveIt(void)
{
static int value = 0;
int m;
m = x % 2;
x = x / 2;
if((x / 2)) DriveIt();
value = value + m * 10;
return value;
}
int main()
{
TestDrive TD(1234);
cout<< TD.DriveIt() * 10 << endl;
return 0;
}| Report Duplicate | Flag | PURGE
Ziisoft Nano Technologies Software Developer C++ - 0of 0 votes
AnswersWrite a C++ Program to find Addition of Two Numbers.
- hr@ziitech.com April 08, 2022 in India| Report Duplicate | Flag | PURGE
Ziisoft Nano Technologies Software Developer C++ - 0of 0 votes
AnswersWhat will be the output of the following program?
- hr@ziitech.com April 08, 2022 in India
#include<iostream.h>
class Bix
{
int x, y;
public:
void show(void);
void main(void);
};
void Bix::show(void)
{
Bix b;
b.x = 2;
b.y = 4;
cout<< x << " " << y;
}
void Bix::main(void)
{
Bix b;
b.x = 6;
b.y = 8;
b.show();
}
int main(int argc, char *argv[])
{
Bix run;
run.main();
return 0;
}| Report Duplicate | Flag | PURGE
Ziisoft Nano Technologies Software Developer C++ - 0of 0 votes
AnswerWhat will be the output of the following program?
- hr@ziitech.com April 08, 2022 in India
#include<iostream.h>
int main()
{
float Amount;
float Calculate(float P = 5.0, int N = 2, float R = 2.0);
Amount = Calculate();
cout<< Amount << endl;
return 0;
}
float Calculate(float P, int N, float R)
{
int Year = 1;
float Sum = 1 ;
Sum = Sum * (1 + P * ++N * R);
Year = (int)(Year + Sum);
return Year;
}| Report Duplicate | Flag | PURGE
Ziisoft Nano Technologies Software Developer C++ - 0of 0 votes
AnswersWhat will be the output of the following program?
- hr@ziitech.com April 08, 2022 in India
#include<iostream.h>
class IndiabixSample
{
public:
int a;
float b;
void BixFunction(int a, float b, float c = 100.0f)
{
cout<< a % 20 + c * --b;
}
};
int main()
{ IndiabixSample objBix;
objBix.BixFunction(20, 2.000000f, 5.0f);
return 0;
}| Report Duplicate | Flag | PURGE
Ziisoft Nano Technologies Software Developer C++ - 0of 0 votes
AnswersWrite a C++ Program to find Factorial of a Number using recursion.
- hr@ziitech.com April 08, 2022 in India| Report Duplicate | Flag | PURGE
Ziisoft Nano Technologies Software Developer C++ - 0of 0 votes
AnswersWrite a C++ Program to find Factorial of a Number using for loop.
- hr@ziitech.com April 08, 2022 in India| Report Duplicate | Flag | PURGE
Ziisoft Nano Technologies Software Developer C++