摩托罗拉(Motorola)笔试真题

时间:2021-01-15 12:18:11 笔试题目 我要投稿

摩托罗拉(Motorola)笔试真题

  1.打印如下图案,共19行,只能有一个for循环。

摩托罗拉(Motorola)笔试真题

     *        
         ***       
        *****     
       *******     
      *********    
     ***********
    *************  
   *************** 
 *****************
*******************
 *****************
   *************** 
    *************  
     ***********  
      *********    
       *******     
        *****     
         ***       
          *
 

  2.#define f1(n) (n)*(n)

  int i=5;

  int k=0;

  k=f1(i++);

  printf("%d %d",i,k);

  输出结果是?

  3.下面哪个for循环是无限循环?

  for(int i=010;i==10;i+=0)

  for(int i=10;(i++^--i)==0;i+=0)

  4.email relay 和email access分别用了什么协议?

  5.in a mobile phone,软件运行期stack data (栈)存在于?

  a.rom, b .flash c .eeprom d.ram e .none of the above

  6.int i;

  int x=0x12345678;

  unsigned char *p=(unsigned char *)&x;

  for(i=0;i

  printf("%2x",*(p+i));

  在80x86pc机器上和sun sparc unix上运行结果分别是?

  7.char a[2][2][3]={{{1,6,3},{5,4,15}},{{3,5,33},{23,12,7}} };

  for(int i=0;i<12;i++)

  printf("%d ",_______);

  空格处填上合适的.语句,顺序打印出a中的数字。

  8.void fun(char *a,char *b){

  a=b;

  (*a)++;

  }

  void main(){

  char s1='a',s2='a';

  char *p1=&s1;

  char *p2=&s2;

  fun(p1,p2);

  printf("%c%c",s1,s2);

  请写出输出结果。

【摩托罗拉(Motorola)笔试真题】相关文章:

用友JAVA笔试真题07-24

中兴通讯笔试真题07-09

摩托罗拉moto笔试题08-08

Intel笔试真题技术笔试题型11-04

Intel笔试真题技术笔试题目06-27

保险公司笔试真题07-29

通讯技术类笔试真题07-29

外企面试笔试真题07-29

清华同方笔试真题分享07-16

咨询顾问笔试真题分享07-15