10 lines
166 B
C++
10 lines
166 B
C++
#include <iostream>
|
|
|
|
void f(double) { std::cout << "double\n"; }
|
|
void f(int) { std::cout << "long\n"; }
|
|
|
|
int main() {
|
|
short x = 5;
|
|
f(x); // Which one?
|
|
}
|
|
|