Question: 5 . In C + + , what happens when a class contains a reference member variable? Reference member variables cannot be used as function
In C what happens when a class contains a reference member variable?
Reference member variables cannot be used as function arguments
Reference member variables cannot be modified after initialization
Reference member variables must be initialized in the constructor's initialization list
Reference member variables are automatically initialized to null
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
