顺丰科技2019秋招嵌入式软件开发工程师客观题合集
时长:90分钟 总分:1分
274浏览 0人已完成答题
题型介绍
题型 | 单选题 | 多选题 |
---|---|---|
数量 | 74 | 36 |
void main(void) { ...
void main(void) { int a=b=c=10 a=b=c=50 printf(“\n %d %d %d”,a,b,c) }程序的输出是()
void main (void) { doub...
void main (void) { double x=28 int r r= x%5 printf ("r=%d\n", r) }程序的输出是()
void main (void) {     char...
void main (void) { char a[] = “SF-TECH” a++ printf (“%s”, a) }程序的输出是什么?()
void main (void) { int ...
void main (void) { int i i = 0x10 + 010 + 10 printf ("x = %x”, i) }程序的输出是()
#define SQUARE(X) X * X void main (vo...
#define SQUARE(X) X * X void main (void) { printf (“Square = %d” , SQUARE(10+2) ) }程序的输出是什么?
void main (void) { int ...
void main (void) { int x x = printf(“I See, Sea in C”) printf("x=%d" , x) }程序完成后x的值是()
程序完成后x的值是什么?
void main (void) { int x x = printf(“I See, Sea in C”) printf(“x=%d” , x) }
void main (void) { prin...
int main (void) { printf("%d", 'B'<'A') return 0 }程序的输出是()
void main (void) {     prin...
void main (void) { printf(“\n %d %d”, 10&20, 10/20) }程序的输出是什么?
union test { int x char y float z ...
union test { int x char y float z }在 32 位平台上,这个联合的大小是()字节
const char *str = “123456” sizeof(st...
32位平台上struct { unsigned char a int b...
struct { unsigned char a int b short c } s请问s的起始地址下面说法正确的是()
32位平台上struct { unsigned char a int b...
有个函数位于0x20000000处,输入参数为int类型,输出为void类...
定义 int value [] = {11,33,51,70,99} ...
int value [] = {11,33,51,70,99} int *p = value结果为70的表达式是哪一个()
以下程序运行后的打印结果是:
#include
#include <stdio.h> int main(void){ int x = 10, y = 20, t = 0 if (x == y) t = x x = y y = t printf("%d, %d\n", x, y) return 0 }
int function(int a, int b, intc) { &n...
int function(int a, int b, int c) { c = a * b } int main(void) { int c = 0 function(10,20, c) printf("%d", c) }上面代码的输出为()
sizeof("hello") strlen("world") 的值是()
sizeof("hello") strlen("world")上面语句的值分别是()
以下代码输出什么() char *a[] = {"BEIJING", "S...
char *a[] = {"BEIJING", "SHENZHEN", "SHANGHAI", "GUANGZHOU"} char **pa[] = {a+3, a+2, a+1, a} char ***ppa = pa int main(void) { printf("%s, ", **++ppa) printf("%s, ", *--*++ppa+3) printf("%s, ", *ppa[-2]+3) printf("%s", ppa[-1][-1]+1) }
int a[]= {1,2,3,4,5}, int *p = a,&nbs...
int a[]= {1,2,3,4,5} int *p = a下列表达式与 ++*p 相同的是()
如下函数: void fun (int x, int y , int *a...
void fun (int x, int y , int *a, int *b) { a = x + y b = x - y } int main(void) { int x = 20,y = 10,a = 0, b = 0 fun(x, y, &a, &b) printf(" %d, %d", a, b) }
void main(void) { char ...
void main(void) { char *s = "1314520" int v1 = 0, v2 = 0, v3 = 0, v4 =0 for (int i = 0 s[i] i++) { switch(s[i]) { default: v4++ case '1': v1++ case '2': v2++ cas3 '3': v3++ } } printf("%d, %d, %d, %d", v4,v1,v2,v3) }上述代码段的输出为()
存储一个32位的数据0x9876521到地址4000h~4003h,小端方...
设: R1 = 0x03, R2 = 0x03 ADD R0, R1, ...
R1 = 0x03, R2 = 0x03
ADD R0, R1, R2, LSL #2
R0 的值是()
假设串口波特率为9600,设置数据位8,起始位1,奇偶校验位1,停止位1....
void foo(void){     unsigne...
void foo(void){ unsigned int a = 10 int b = -20 ((a+b) > 10 )? printf(">10"):printf("<=10") }