blob: a9f942994b7ff8882062dfa0fa1bd5ddf933b3fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
double product(double a, double b)
{
return a * b;
}
static double double_product(double a)
{
return a * 2;
}
double use_another_static_function(double a, double b)
{
return double_product(product(a, b));
}
|