ProAnswers.org

What is mean by cyclic property of data type in c?

hi Pax. nice question…
pls have a look:

#include
int main()

{
signed char c1=130;
signed char c2=-130;
printf("%d %d",c1,c2);
return 0;
}
Output: -126 126
( ???)

Reason:
As we know thr Range of unsigned char is -128 to 127. If we assign a value which is greater than 127 then value of variable will be changed to a value if we move clockwise direction, according to number. If we will assign a number which is less than -128 then we have to move in anti-clockwise direction.

i hope u got it…