登录
|
注册
公司
标签
文章
搜索
网易
C语言工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
2648
网络传送一个结构体可能碰到的问题以及解决方案。 ...
阅读题目
网易
C语言工程师
网络基础
问答题
经典指数
1
0
1607
请给出下面程序的输出结果,并说明原因。 #include #include using namespace std ; template class array { public: array(int size); size_t getVectorSize() { return_data.size(); } size_t getSize() { return_size; } private: vector _data; size_t _size; }; template array::array(int size) : _size(size)._data(_size) {} int main() { array *arr = new array(3); cout getVectorSize() ...
阅读题目
网易
C语言工程师
问答题
经典指数
1
0
2002
在游戏设计中,经常会根据不同的游戏状态调用不同的函数,我们可以通过函数指针来实现这一功能,请声明一个参数为int *,返回值为int的函数指针。 int (*fun)(int) int (*fun)(int *) int* fun(int *) int* (*fun)(int *) ...
阅读题目
网易
C语言工程师
单选题
经典指数
1
0
2109
代码里有时可以看到extern"C",这语句是做什么用的? ...
阅读题目
网易
基础知识
C语言工程师
问答题
经典指数
1
0
2114
怎么判断栈的增长方向? ...
阅读题目
网易
C语言工程师
编译和体系结构
问答题
经典指数
1
0
4414
下面的程序的输出是什么? #include<stdio.h> int main(void) { int n; char y[10] = "ntse"; char *x = y; n = strlen(x); *x = x[n]; x++; printf("x=%s\n",x); printf("y=%s\n",y); return 0; } x=atse,y= x=tse,y= x=atse,y=e x=tse,y=e ...
阅读题目
网易
C语言工程师
单选题
经典指数
1
0
4095
下面程序运行后的结果为: char str[] = "glad to test something"; char *p = str; p++; int *p1 = reinterpret_cast<int *>(p); p1++; p = reinterpret_cast<char *>(p1); printf("result is %s\n", p); result is glad to test something result is ad to test something result is test something result is to test something ...
阅读题目
C语言工程师
网易
C语言工程师
单选题
经典指数
1
0
2761
如果要实现一个多线程(非MFC)程序, 选择多线程CRT, 创建线程的时候应该用CreateThread还是_beginthreadex()? CreateThread _beginthreadex 一样 和具体机器配置相关 ...
阅读题目
网易
C语言工程师
Windows
单选题
经典指数
1
1
3040
下面这段程序的输出是什么? class A{ public: A(){p();} virtual void p(){print("A")} virtual ~A(){p();} }; class B:public A{ public: B(){p();} void p(){print("B")} ~B(){p();} }; int main(int, char**){ A* a=new B(); delete a; } AABB BBAA ABAB ABBA ...
阅读题目
网易
C语言工程师
单选题
经典指数
0
0
3219
void Func(char str_arg[100]) { printf("%d\n",sizeof(str_arg)); } int main(void) { char str[]="Hello"; printf("%d\n",sizeof(str)); printf("%d\n",strlen(str)); char*p=str; printf("%d\n",sizeof(p)); Func(str); } 32位系统下下面程序的输出结果为多少? 5 5 4 4 6 5 4 4 6 5 6 4 5 5 5 100 ...
阅读题目
C语言工程师
网易
C语言工程师
单选题
经典指数
1
2
3
4
39
题目数
1
贡献者
31
答案数
扫描后移动端查看
我也分享一个题目
"网易"公司热门职位
测试工程师
机器学习
研发工程师
Java
"C语言工程师"
职位热门公司
迅雷
腾讯
百度
奇虎360
微软
华为
阿里巴巴
搜狐
京东
小米
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录