Sobes.tech
Junior — Senior

How is the called function overload determined

livecode

Task condition

It is necessary to understand which overloaded function test will be chosen during the call.

void test(double a)
{
}

void test(unsigned int a)
{
}

int main() {
    int a = -10;
    test(a);
}