Functions - Programming

Q1:

Functions can be called either by value or reference

A True

B False

ANS:A - True

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.