这学期刚开始学C,但是这道题好像没看懂教授想问我们什么

Just started learning C this semester, but I can't seem to understand what the professor wants from us in this question

原问题:

A positive number has the same representation in one’s complement and in two’s complement. Suppose its representation is interpreted as two’s complement, and its additive inverse is determined. Now this representation is interpreted as one’s complement, and the additive inverse is determined. Whether interpreted as one’s complement or two’s complement, the result will be the same, since it is a positive number. What is the relationship between this result and the original number?

我不知道他说的"what is the relationship between this result and the original number"是什么意思。我想我明白他要我们做的事情的过程:

先取一个二进制数 (0101),然后取二进制补码 (1011),然后取二进制补码 (0100) 的一个补码。接下来做什么?

如果我发的不止这些,我会给你答案....

生成的数字不会与原始数字相同,但无论选择哪个值作为原始数字,它们之间的差异都是一致的。研究几个例子,直到你看到关系。您已经以二进制形式展示了一个示例,这可能会使查看关系变得更加困难。完成几个十进制格式的示例(如果有帮助,请转换为二进制,然后再转换回十进制)。选择以偶数开头的示例,以及其他以奇数开头的示例,这样您就不会对关系得出错误的结论。

然后,作为奖励,看看你是否能弄清楚为什么存在这种关系。它与以下事实有关:一种格式中的值取反与另一种格式中的值取反的执行方式不同。