Which of the following statement is correct about the program given below?
#include<iostream.h>
class IndiaBix
{
int a, b, c;
public:
void SetValue(int x, int y ,int z)
{
a = x;
b = y;
c = z;
}
void Display()
{
cout<< a << " " << b << " " << c;
}
};
int main()
{
IndiaBix objBix;
int x = int &y = x;
y = objBix.SetValue(x, ++y, x + y);
objBix.Display();
return
}
|