Call site

From Wikipedia, the free encyclopedia

In programming, a call site of a function is a place where the function is, or may be (by virtue of dynamic dispatch) called. Typically a call site may pass arguments to the function, and receive zero, one, or more return values.

[edit] Example

// this is a function definition
function sqr(x)
{
  return x * x;
}
// these are two call sites of the function
a = sqr(b);
c = sqr(b); 

[edit] See also