Actually, no, you cannot do that. Because the compiler won't know which function to call. However, if you used pointers on the second function it would work.
1 2
func(int x, int y)
func(int*x, int*y)
int main(){
int x,y;func(x,y);func(&x,&y);
return 0;}