望各位帮忙看看,现在就想要答案,蟹蟹各位潜水专家,感谢解答,感谢回答,感谢解答。在“PUT YOUR CODE HERE”写内容,前面内容不要改动,按照要求来编写。
// Swap bytes of a short
#include <stdint.h>
#include <stdlib.h>
#include <assert.h>
// given uint16_t value return the value with its bytes swapped
uint16_t short_swap(uint16_t value) {
// PUT YOUR CODE HERE
return 42;
}