<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV>hello all,<BR><BR>in one of my programs , i used an unsigned int
variable.</DIV>
<DIV>i had a problem in this program. </DIV>
<DIV> </DIV>
<DIV>i traced the execution and found that in one place </DIV>
<DIV>a negative value goes into the variable.</DIV>
<DIV> </DIV>
<DIV>howz that possible? shouldnt the program end</DIV>
<DIV>abnormally on receiving a signed number???</DIV>
<DIV> </DIV>
<DIV>and when i print the number the no. prints as a </DIV>
<DIV>negative number. i thought the signed would not </DIV>
<DIV>be used for unsigned variables.</DIV>
<DIV> </DIV>
<DIV>whatz happening inside???</DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV>Srinath.</DIV></BODY></HTML>