Show the worked solutionWhen an array is passed, C passes the address of its first element (the array name decays to a pointer). The function works on the caller's elements through that pointer, so assignments inside the function change the original array.(B) The pointer itself is passed by value, but it still points to the original elements — incorrect.(C), (D) Accessing the elements is legal and causes no compile-time or run-time error — incorrect.Answer: A
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com