Home » C++ Programming » References

Which of the following statement is correct about the program given below? #include<iostream.h> class Tab { int x, y; public: Tab(int x, int y) { this->x = x; this->y = y; } void Display() { cout<< x << " " << y; } }; int main() { int x = 50; int &y = x ; Tab b(y, x); return 0; }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!