-- advertisement --

Discussion

  1. Which of the following is true for "call by reference" in C program?
    1. Called function can alter the value of variable passed from calling function
    2. Called function creates a private temporary copy of the passed argument and modifies it.
    3. Both A and B are false
    4. A is true
  1. Correct Option: A

    Call by reference allows called program to access and modigy the original value of the argument passed.
    Called function does not need to create a copy of the argument passed


Your comments will be displayed only after manual approval.

-- advertisement --

-- advertisement --