Question: Question 4 (4 points) Saved Assuming there is no operator overloading implemented, which of the following operation is legal for struct/class variables? x++; // x

Question 4 (4 points) Saved Assuming there is no operator overloading implemented, which of the following operation is legal for struct/class variables? x++; // x is a struct/class variable. cout > X; // x is a struct/class variable. Question 5 (4 points) Which of the following statement is not true? A function may return a struct/class variable. A pointer of a struct/class variable cannot be passed to a function as a parameter A function may be a member of a struct/class. A struct/class variable may be passed to a function as a parameter
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
