登录
|
注册
公司
标签
文章
搜索
搜狐
C语言工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
3436
void swap(int &a,int &b) { int temp; temp=a; a=b; b=temp; cout<<a<<’ ‘<<b<<’\n’; } int main(){ int x=1; int y=2; swap(x,y); cout<<x<<’ ‘<<y<<’\n’; return 0; } 上面程序输出的是? 2 1 1 2 2 1 2 1 1 2 2 1 1 2 1 2 ...
阅读题目
搜狐
研发工程师
C语言工程师
单选题
经典指数
0
0
2590
我们有10个解压方法分别对应保存于10个解压类中,现在需要动态地在运行时根据命令载入和调用解压方法,要用系统的函数,请写出function1的输出: @interface Class1 : NSObject @property(nonatomic, copy)NSString * testString; @property(nonatomic, retain)NSString * testString2; @end @implementation Class1 -(void)function1 { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc]init]; NSString * string1 = [[[NSString alloc]initWithCString:"123"]autorelease]; NSLog(@"%u", [string 1 retainCount]); //(1)() [string 1 retain]; NSLog(@"%u" ...
阅读题目
搜狐
基础知识
C语言工程师
编译和体系结构
问答题
经典指数
1
0
4429
C++类体系中,不能被派生类继承的有? 构造函数 静态成员函数 非静态成员函数 赋值操作函数 ...
阅读题目
搜狐
研发工程师
C语言工程师
单选题
经典指数
1
0
4594
处理a.html文件时,以下哪行伪代码可能导致内存越界或者抛出异常() int totalBlank = 0; int blankNum = 0; int taglen = page.taglst.size(); A for(int i = 1; i < taglen-1; ++i) { //check blank B while(page.taglst[i] == "<br>" && i < taglen) { C ++totalBlank; D ++i; } E if(totalBlank > 10) F blankNum += totalBlank; G tota ...
阅读题目
C语言工程师
搜狐
C语言工程师
html
单选题
经典指数
1
0
4594
处理a.html文件时,以下哪行伪代码可能导致内存越界或者抛出异常() int totalBlank = 0; int blankNum = 0; int taglen = page.taglst.size(); A for(int i = 1; i < taglen-1; ++i) { //check blank B while(page.taglst[i] == "<br>" && i < taglen) { C ++totalBlank; D ++i; } E if(totalBlank > 10) F blankNum += totalBlank; G tota ...
阅读题目
C语言工程师
搜狐
C语言工程师
html
单选题
经典指数
1
0
5382
int A[2][3]={1,2,3,4,5,6};,则A[1][0]和*(*(A+1)+1)的值分别是() 4 5 4 3 3 5 3 4 ...
阅读题目
搜狐
2013
研发工程师
C语言工程师
数组
单选题
经典指数
1
0
2228
下面有关static类变量和实例变量的描述,正确的有? static类变量又叫静态成员变量,它不需要创建对象就可以已经在内存中存在了 在创建实例对象的时候,内存中会为每一个实例对象的每一个非静态成员变量开辟一段内存空间,用来存储这个对象所有的非静态成员变量值 static类变量是所有对象共有,其中一个对象将它值改变,其他对象得到的就是改变后的结果 实例变量则属对象私有,某一个对象将其值改变,不影响其他对象 ...
阅读题目
搜狐
C语言工程师
多选题
经典指数
1
0
3524
从运行层面上来看,从四个选项选出不同的一个。 JAVA Python objectC C# ...
阅读题目
Java
Python
搜狐
研发工程师
C语言工程师
单选题
经典指数
1
2
3
4
38
题目数
1
贡献者
34
答案数
扫描后移动端查看
我也分享一个题目
"搜狐"公司热门职位
研发工程师
测试工程师
机器学习
iOS
数理统计
自然语言处理
java
Java
"C语言工程师"
职位热门公司
迅雷
腾讯
百度
奇虎360
微软
华为
阿里巴巴
网易
京东
小米
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录