#include void f(double) { std::cout << "double\n"; } void f(int) { std::cout << "long\n"; } int main() { short x = 5; f(x); // Which one? }