previous | start | next

Call by Value

All these predefined functions have parameters passed by value.

If we call one of these functions, no change occurs to the argment:

int main()
{
    double x = 5.0;

    double y = sqrt(x);

    // x is still 5.0!!


previous | start | next