摘要: 首先看代码: #include<stdio.h> #include<stdlib.h> int main(void) { int a = 5; int b = a << 32; printf("%d\n", b); system("pause"); return 0; } 对数值a进行左移32位,会 阅读全文
posted @ 2020-01-27 14:47 一颗蘋果 阅读(1853) 评论(0) 推荐(1) 编辑
摘要: 先看代码 #include<stdio.h> #include<stdlib.h> typedef struct { int a[2]; double d; } struct_t; double fun(int i) { volatile struct_t s; s.d = 3.14; s.a[i] 阅读全文
posted @ 2020-01-27 11:27 一颗蘋果 阅读(157) 评论(0) 推荐(0) 编辑