[英]Writing a function that returns 16-bit expression
The question following is excerpted from exercise 6, chapter 7, A book on C. 以下问题摘自练习6,第7章,关于C的书。
Now there are two key points I do not understand about this question: 现在关于这个问题我有两点不明白:
This question really makes no senses. 这个问题确实没有任何意义。 One of the things I really hate about this book is, compared to C prorgamming written by Kochan, which I have no problems at all in understanding its questions, so dense to understand with respect to exercise questions. 与Kochan撰写的C prorgamming相比,我真正讨厌这本书的其中一件事是,我在理解它的问题时没有任何问题,因此对于运动问题的理解非常密集。 Or may be I am just stupid! 或者可能是我只是愚蠢!
"every other bit" means each either bits 0, 2, 4, 6 ... or bits 1, 3, 5, 7 ... “每隔一位”表示每个位0,2,4,6 ...或位1,3,5,7 ......
If you start with 32 bits and take each other bit then your result is 16 bits. 如果从32位开始并相互取位,则结果为16位。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.