Mixed
How do you initialize a reference member variable in C++?
How do you initialize a reference member variable in C++? References are initialized in the following situations:1) When a named lvalue reference variable is declared with an initializer.2) When a…