Will the following code compile?

int foo();
char foo();
Explanation
No, because two functions differ only by the type of a return value, but it is not taken into account during the overload resolution.

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты