登录
|
注册
公司
标签
文章
搜索
小米
C语言工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
2685
int foo(x) { int count = 0; while (x) { count++; x = x & (x - 1); } return count; } 求函数foo(2015)返回数值 1 ...
阅读题目
小米
C语言工程师
填空题
经典指数
1
0
2211
下面程序的输出是什么? int main(void) { int a[5] = {1, 2, 3, 4, 5}; int *ptr = (int *)(&a + 1); printf("%d,%d", *(a + 1), *(ptr - 1)); return 0; } 2 1 2 5 1 2 5 2 ...
阅读题目
小米
C语言工程师
单选题
经典指数
1
0
1980
Struct S { int *p; int *p2; }; void main() { struct S mys; int *p = &mys.p; p[0] = 1; p[1] = 2; } 问程序的运行结果 ...
阅读题目
小米
C语言工程师
问答题
经典指数
1
0
1956
typedef struct { char flag[3]; short value; } sampleStruct; union { char flag[3]; short value; } sampleUnion; 假设 sizeof(char)=1,sizeof(short)=2,那么sizeof(sampleStruct) = 1 , sizeof(sampleUnion) = 2 ...
阅读题目
小米
C语言工程师
填空题
经典指数
1
0
1892
# include “stdafx.h” # include using namespace std; class A { public : void virtual run() { cout ...
阅读题目
小米
C语言工程师
问答题
经典指数
1
2
16
题目数
1
贡献者
15
答案数
扫描后移动端查看
我也分享一个题目
"小米"公司热门职位
运维工程师
iOS
研发工程师
测试工程师
Android
"C语言工程师"
职位热门公司
迅雷
腾讯
百度
奇虎360
微软
华为
阿里巴巴
网易
搜狐
京东
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录