Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

when a function needs access to an original argument passed to it, for example i

ID: 3819089 • Letter: W

Question

when a function needs access to an original argument passed to it, for example in order to change its value, the argument needs to be(?) istory Bookmarks Window Help Coastdistrict.instructure.com Search Textba Quiz: Exam 3 167 Quizzes Exam 3 Exam 3 Started: Apr 16 at 6:33pm Quiz Instructions thirty-three 33 33AE; D Question 1 NGC 33 NGC 33: NGC 33; 33 33 Virginis; a function needs access to an original argument passed to it, for example in order to change its value, the argument needs to be Al passed by value OB passed into a reference parameter O a static variable D an integer D Question 2 2 pts In a function header, in addition to the name of the function, you are required to

Explanation / Answer

When a function needs access to an original argument passed to it, for example in order to change the value , the argument needs to be passed into a reference parameter and this is called pass by value where formal parameter are the references(points to) the actual parameter and any change in formal will reflect in actual parameter.