Home / C Programming / Functions :: Discussion

Discussion :: Functions

  1. Functions can be called either by value or reference

  2. A.
    True
    B.
    False

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    True, A function can be called either call by value or call by reference.

    Example:

    Call by value means c = sub(a, b); here value of a and b are passed.

    Call by reference means c = sub(&a, &b); here address of a and b are passed.


Be The First To Comment