Murugesh_89
Full Member level 5
Hi,
Please let me know the reason..
My program is...
void main()
{
int a,b;
a = -1;
b = -1u;
if(a == b) do_task1;
else do_task2;
}
The condition passes and do the task1. Why is it so even though i made b as unsigned??
Need reason for this...
Please let me know the reason..
My program is...
void main()
{
int a,b;
a = -1;
b = -1u;
if(a == b) do_task1;
else do_task2;
}
The condition passes and do the task1. Why is it so even though i made b as unsigned??
Need reason for this...