Everyone I looked around there exists a topic about my question yet I could not find.
unsigned int x = 5;
int y = -3;
if(y<x)
func1();
else
func2();
func2
is called . But I want func1
called.
I know that I must use a cast operator when comparing these values.
But it is not allowed to use the cast operator or changing the type of a variable.
How can I solve this problem?