Murugesh_89
Full Member level 5
- Joined
- Nov 23, 2012
- Messages
- 266
- Helped
- 7
- Reputation
- 12
- Reaction score
- 6
- Trophy points
- 1,298
- Location
- India
- Activity points
- 3,267
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...