Question: Write a simple C++ Code as i am a begineer. Q1 a) Explain the difference between the following :Passing value by reference, Passing value by

Write a simple C++ Code as i am a begineer.
Q1 a) Explain the difference between the following :Passing value by reference, Passing value by pointers, Passing value by address b) Give two reasons to pass an object by reference. c) Explain Why can't the constant pointer this be used inside a static method d) Explain Why is protected accessibility needed? e) Explain the difference between the keywords struct and class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
