奇安信2019春招终端开发试题
时长:120分钟 总分:100分
130浏览 0人已完成答题
题型介绍
题型 | 单选题 | 多选题 | 判断题 |
---|---|---|---|
数量 | 18 | 10 | 2 |
这段代码最终结果输出是?() int&nbsp &nbspg_tota...
int g_total_cost int g_book_price = 10 int g_num_books = 5 void main() { g_total_cost = (g_book_price * g_num_books, g_total_cost) printf("%d\n", g_total_cost) }
下面这个结构体TS的对象在栈上会占用多少字节的空间?() #pragma ...
下面这个结构体TS的对象在栈上会占用多少字节的空间?()
#pragma pack(4) typedef struct TS { char a_char unsigned int a_int } T_S #pragma pack()
请选择下面代码的输出结果() char g_string_digis[]=...
char g_string_digis[]="01234556789" void main() { printf("%d\n", sizeof(g_string_digis)) }
以下为Windows下的32位C++程序,请计算sizeof的值:() &...
char str[] = "Hello" char *p = str sizeof(str) = ? sizeof(p) = ?
这段代码的输出结果是?() union _T_S { &nbsp &nb...
union _T_S { unsigned int a_int struct { unsigned int a_bit_1:1 unsigned int a_bit_2:1 unsigned int a_bit_3:1 unsigned int a_bit_4:1 unsigned int a_bits:8 } } void main() { union _T_S ts = {0} ts.a_bits = 8 printf("%d\n", ts.a_int) }
32位操作系统下,以下代码&nbsp &nbsp &nbsp &nb...
char str[]="Hello"; char* p=str; int n = strlen(p)
int i =1;&nbsp &nbsp &nbsp &nbsp ...
int i =1; int inc( ){ return ++i} void main( ) { printf("%d,%d",inc( ),inc( )*inc( )) }
在C++中执行以下4条语句后输出rad值为:() static&enspint&ensph...
static int hot=200; int &rad=hot; hot=hot+100; cout<<rad<<endl;
考虑函数原型void&ensptest(int&enspa,int&enspb=7,char&enspch...
如何命令行解压一个tar压缩文件到当前目录,如test.tar.gz。ta...
假设文件file的内容只有两行:&ldquoabc&ldquo和&rdquodef&rdquo, &ldquocat fil...
针对下面的"ls -l"的输出,我们可以得出哪些结论?() "drwxr-...
"drwxr-xr-x 10 nobody users 4096 Nov 26 2016 file"