Home » C++ Programming » References

Which of the following statement is correct about the program given below? #include<iostream.h> struct Tab { short n; }; int main() { Tab b; Tab& rb = b; b.n = 5; cout << b.n << " " << rb.n << " "; rb.n = 8; cout << b.n << " " << rb.n; return 0; }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!