number will be sored in 2'scomplement form .as 4=100 so its 1's comlement
form will be 011 and adding  1 to it will result in 011+1=100.so -4 will be
printed

On Wed, Sep 21, 2011 at 10:23 AM, kartik sachan <kartik.sac...@gmail.com>wrote:

> @ravi i think ur concepts is correct the no is stored in 2's form....if
> negative....
>
> thanks ravi
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to