Functions Q.14

0. One of the disadvantages of pass-by reference is that the called function may inadvertently corrupt the caller's data. This can be avoided by

  • Option : B
  • Explanation : If the formal parameters are declared constants, the compiler will not allow any changes to be made. So the question of inadvertently corrupting the caller's data, does not arise at all.
Cancel reply
Cancel reply