What is the difference between arguments passed by "value" and by reference in a C++ function?
Answers
Answered by
1
Answer:
The difference between p.a.s.s-b.y-r.e.fe.r.e.n.c.e and p.a.s.s.-b.y.-v.a.lu.e is that m.o.d.i.fi.c.a.t.i.o.ns made to a.r.g.um.e.n.ts passed in by reference in the called function have effect in the calling function, whereas m.o.di.f.i.c.a.t.i.o..ns made to a.r.g.u.m.e.n.t.s passed in by value in the called function can not affect the c.a.l.l.i.n.g function.
Explanation:
Plz mark as brainliest..
Similar questions
Accountancy,
25 days ago
India Languages,
25 days ago
Hindi,
1 month ago
Math,
9 months ago
Science,
9 months ago
Math,
9 months ago