![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
题
文章平均质量分 85
ylgrgyq
这个作者很懒,什么都没留下…
展开
-
网上一套题 流传很广 做一下
在网上转,看到一套题,尝试解一下。 23. In little-endian systems, what is the result of following C program? typedef struct bitstruct{ int b1:5; int :2; int b2:2; }bitstruct; void main(){ bitstruct b; memcpy(&b,”EMC原创 2011-12-01 11:38:26 · 1375 阅读 · 0 评论 -
网上一套题 流传很广 做一下 二
M1: #define ELE_NUM(a) (sizeof(a)/sizeof(a[0])) int main() { char array[] = {'E', 'M','C'}; int d; for (d = -1; d <= (ELE_NUM(array) - 2); d++) { printf("%d",array[d+1]);原创 2011-12-04 11:06:45 · 492 阅读 · 0 评论