>>808
Cの時代から普通にあるよ。構造体で渡すまでもない場合はそれが最も効率がいい。

int add( int x, int y )
{
  return x+ y;
}

float fadd( float x, float y )
{
  return x+ y;
}

とか。