Unsigned problem

Today i was sloving few white box testing related question i found this question from prasad's book...

i am not getting what could be the correct ans..

unsigned int x
.....
if (x<10)
{
....
}

question is if this above written code is snippet...find out the problem..
Unsigned problem Unsigned problem Reviewed by Animesh Chatterjee on August 15, 2010 Rating: 5

No comments:

Powered by Blogger.