登录
|
注册
公司
标签
文章
搜索
微软
C语言工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
3271
下列关于数组与指针的区别描述正确的是? 数组要么在静态存储区被创建(如全局数组),要么在栈上被创建。 用运算符sizeof 可以计算出数组的容量(字节数) 指针可以随时指向任意类型的内存块。 用运算符sizeof 可以计算出指针所指向内容的容量(字节数) ...
阅读题目
微软
C语言工程师
数组
多选题
经典指数
1
0
3192
求下面函数的返回值。 int func(x) { int countx = 0; while (x) { countx ++; x = x & (x - 1); } return countx; } 假定x = 9999。 8 1 100 其他 ...
阅读题目
微软
C语言工程师
单选题
经典指数
1
0
3158
请编写能直接实现strstr()函数功能的代码。 ...
阅读题目
微软
C语言工程师
字符串
问答题
经典指数
1
0
3048
Which of the following statement(s) equal(s) value 1 in C programming language? the return value of main function if program ends normally return (7&1) char *str="microsoft"; return str=="microsoft" return "microsoft"=="microsoft" None of the above ...
阅读题目
微软
2015
腾讯
C语言工程师
多选题
经典指数
1
0
3024
下面程序的执行结果: class A{ public: long a; }; class B : public A { public: long b; }; void seta(A* data, int idx) { data[idx].a = 2; } int main(int argc, char *argv[]) { B data[4]; for(int i=0; i<4; ++i){ data[i].a = 1; data[i].b = 1; seta(data, i); } for(int i=0; i<4; ++i){ std::cout << data[i].a << data[i].b; } return 0; } 11111111 12121212 11112222 21212121 22221111 ...
阅读题目
微软
研发工程师
C语言工程师
单选题
经典指数
1
0
3021
How many times is f() called when calculating f(10)? int f(int x) { if(x <= 2) return 1; return f(x - 2) + f(x - 4) + 1; } 14 18 20 24 None of the above ...
阅读题目
微软
研发工程师
递归
C语言工程师
单选题
经典指数
1
0
2982
下面哪些调用转换支持可变长度参数 cdecl stdcall pascal fastcal ...
阅读题目
微软
研发工程师
C语言工程师
单选题
经典指数
0
0
2959
Please choose the right statement about constusage: const int a; //const integer int const a; //const integer int const *a; //a pointer which point to const integer const int *a; //a const pointer which point to integer int const *a; // a const pointer which point to integer ...
阅读题目
微软
2015
腾讯
C语言工程师
多选题
经典指数
0
0
2877
1)、设计函数int atoi(char *s)。 2)、int i=(j=4,k=8,l=16,m=32); printf(“%d”, i);输出是多少? 3)、解释局部变量、全局变量和静态变量的含义。 4)、解释堆和栈的区别。 5)、论述含参数的宏与函数的优缺点。 ...
阅读题目
微软
C语言工程师
堆
栈
问答题
经典指数
0
0
2861
Consider the following definition of a recursive function, power, that will perform exponentiation. int power(int b, int e) { if (e == 0) return 1; if (e %2 == 0) return power (b * b, e / 2); return b * power(b * b, e / 2); } Asymptotically (渐进地) in terms of the exponent e, the number of calls to power that occur as a result of the call power(b, e) is logarithmic linear quadratic exponential ...
阅读题目
微软
研发工程师
C语言工程师
复杂度
单选题
经典指数
<<
<
1
2
3
4
5
6
>
>>
74
题目数
1
贡献者
57
答案数
扫描后移动端查看
我也分享一个题目
"微软"公司热门职位
研发工程师
测试工程师
C#工程师
"C语言工程师"
职位热门公司
迅雷
腾讯
百度
奇虎360
华为
阿里巴巴
网易
搜狐
京东
小米
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录