登录
|
注册
公司
标签
文章
搜索
微软
C语言工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
2554
What is the output of the following piece of C++ code? using namespace std; struct Item { char c; Item *next; }; Item *Routine1(Item *x) { Item *prev = NULL, *curr = x; while (curr) { Item *next = curr->next; curr->next = prev; prev = curr; curr = next; } return prev; } void Routine2(Item *x) { Item *curr = x; while (curr) { cout << curr->c << ” “; curr = curr->next; } ...
阅读题目
微软
研发工程师
C语言工程师
单选题
经典指数
1
0
2552
In the main() function, after ModifyString(text) is called, what’s the value of ‘text’? int FindSubString( char* pch ) { int count = 0; char * p1 = pch; while ( *p1 != '\0' ) { if ( *p1 == p1[1] - 1 ) { p1++; count++; }else { break; } } int count2 = count; while ( *p1 != '\0' ) { if ( *p1 == p1[1] + 1 ) { p1++; count2--; }else { ...
阅读题目
C语言工程师
微软
C语言工程师
单选题
经典指数
1
0
2552
In the main() function, after ModifyString(text) is called, what’s the value of ‘text’? int FindSubString( char* pch ) { int count = 0; char * p1 = pch; while ( *p1 != '\0' ) { if ( *p1 == p1[1] - 1 ) { p1++; count++; }else { break; } } int count2 = count; while ( *p1 != '\0' ) { if ( *p1 == p1[1] + 1 ) { p1++; count2--; }else { ...
阅读题目
C语言工程师
微软
C语言工程师
单选题
经典指数
1
0
2515
下面代码段的运行结果(环境linux平台, g++编译器): int main() { int x = 10; int y = 10; x = y = ++y; printf("%d %d", x, y); return 0; } 10 10 10 11 11 10 11 11 ...
阅读题目
微软
研发工程师
C语言工程师
单选题
经典指数
1
0
2498
多重继承的内存分配问题,比如有 class A : public class B, public class C {} 那么A的内存结构大致是怎么样的? ...
阅读题目
微软
C语言工程师
问答题
经典指数
1
0
2490
请编写实现malloc()内存分配函数功能一样的代码。 ...
阅读题目
微软
C语言工程师
操作系统
问答题
经典指数
0
0
2473
What is the result of the following program? char* f(char *str, char ch) { char *it1 = str; char *it2 = str; while (*it2 != '\0') { while (*it2 == ch) { it2++; } *it1++ = *it2++; } return str; } void main(int argc, char *argv[]) { char *a = new char[10]; strcpy(a, "abcdcccd"); cout << f(a, 'c'); } abdcccd abdd abcc abddcccd Access Violation ...
阅读题目
微软
研发工程师
C语言工程师
单选题
经典指数
1
0
2467
#include<file.h> 与 #include "file.h"的区别? 前者首先从当前工作路径搜寻并引用file.h,而后者首先从Standard Library的路径寻找和引用file.h 前者首先从Standard Library的路径寻找和引用file.h,而后者首先从当前工作路径搜寻并引用file.h 两者都是首先从Standard Library的路径寻找和引用file.h 两者都是首先从当前工作路径搜寻并引用file.h ...
阅读题目
C语言工程师
微软
C语言工程师
单选题
经典指数
1
0
2467
#include<file.h> 与 #include "file.h"的区别? 前者首先从当前工作路径搜寻并引用file.h,而后者首先从Standard Library的路径寻找和引用file.h 前者首先从Standard Library的路径寻找和引用file.h,而后者首先从当前工作路径搜寻并引用file.h 两者都是首先从Standard Library的路径寻找和引用file.h 两者都是首先从当前工作路径搜寻并引用file.h ...
阅读题目
C语言工程师
微软
C语言工程师
单选题
经典指数
1
0
2393
一个给定的数值由左边开始升位到右边第N位,如 0010 ...
阅读题目
微软
基础知识
C语言工程师
问答题
经典指数
<<
<
1
2
3
4
5
6
>
>>
74
题目数
1
贡献者
57
答案数
扫描后移动端查看
我也分享一个题目
"微软"公司热门职位
研发工程师
测试工程师
C#工程师
"C语言工程师"
职位热门公司
迅雷
腾讯
百度
奇虎360
华为
阿里巴巴
网易
搜狐
京东
小米
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录