登录
|
注册
公司
标签
文章
搜索
C语言工程师
热门公司
迅雷
腾讯
百度
奇虎360
微软
华为
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
0
0
2830
求二叉树任何两结点的最长距离,用你熟悉的语言。 ...
阅读题目
Java
网易
树
C语言工程师
问答题
经典指数
0
0
3485
void GetMemory(char **p, int num) { *p = (char *)malloc(num); } void Test(void) { char *str = NULL; GetMemory(&str, 100); strcpy(str, "hello"); printf(str); } 请问运行Test 函数会有什么样的结果? hello 空 出错 ...
阅读题目
C语言工程师
华为
单选题
经典指数
0
0
2062
实现 void strtol(char* num_str,char** endptr,int base) 函数,此函数的功能是将一个字符串num_str转换成整数。num_str中保存的是待转换的字符串。字符串有8,10,16进制三种形式,保存在base参数中,若base为0,则需要自己判断具体的进制。要判断是否溢出,若为上溢出,返回INT_MAX,若为下溢出,返回INT_MIN。字符串num_str可能存在非法字符,若存在非法字符,返回非法字符前面的转换结果,并将endptr指向第一个非法字符,若没有非法字符,不需要返回endptr(不能使用任何库函数)。 ...
阅读题目
迅雷
C语言工程师
字符串
问答题
经典指数
0
0
1548
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. ...
阅读题目
C语言工程师
树
面试题
经典指数
0
0
1928
There are two int variables: a and b, don’t use “if”, “? :”, “switch”or other judgement statements, find out the biggest one of the two numbers. ...
阅读题目
微软
基础知识
C语言工程师
问答题
经典指数
0
0
1800
如何打印出当前源文件的文件名以及源文件的当前行号? ...
阅读题目
微软
C语言工程师
问答题
经典指数
0
0
2925
给出下述节点及权值(括号中数字为权值):a(7),b(5),c(4),d(2),构造Huffman树,其带权路径长度为( ) (A)18 (B)35 (C)36 (D)46 ...
阅读题目
2015
金山
研发工程师
C语言工程师
单选题
经典指数
0
0
5132
如下代码段,哪种描述是正确的() class A{/*…*/}; void f(const A** p){/*…*/} void g(const A* const* p){/*…*/} void k(const A*& p){/*…*/} void main() { const A *ca = new A(); A *a = new A(); A** p = &a; k(ca); [1] f(p); [2] g(p); [3] //… } (A)全部正确 (B)[2]错,[1] [3]正确 (C)[1][2]错,[3]正确 (D)[1]正确,[2][3]错 ...
阅读题目
2015
金山
研发工程师
C语言工程师
单选题
经典指数
<<
<
11
12
13
>
>>
128
题目数
2
贡献者
1010
答案数
扫描后移动端查看
我也分享一个题目
相关标签
迅雷
研发工程师
2016
腾讯
百度
奇虎360
2015
微软
华为
2014
同类标签
研发工程师
游戏运营
产品运营
运维工程师
Android
测试工程师
.NET
iOS
机器学习
Go
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录