I am studying function overloading and I have read that promotion takes precedence over conversion. What is promotion and how does it differ from conversion?
For example:
void func(int); //function number 1
void func(double); //function number 2
char a;
func(a); // which function will be called, 1 or 2?