Research on Several Questions of Two's Complement in C Language Programming
Wanli Xiang · Journal of Gansu Lianhe University · 2008
During the course of teaching C Language Programming,formula of definition of two's complement was introduced according to the character that data type integer of Turbo C was stored in the form of two's complement in memory.Thus,beginners was able to grasp the essential of the range of data type integer.And the technique enabled solving the transition between data type signed and data type unsigned to become simple.On the other hand,it enabled searching the result of one's complement of a variable or a constant to become simple.In practical teaching,it enabled students to quickly grasp the essential of these questions.