编程人员笔试题

时间:2020-11-27 18:41:29 笔试题目 我要投稿

编程人员笔试题

1. What will be the output of the following C code?

编程人员笔试题

  main()

  {

  int k, num= 30;

  k =(num > 5 ? (num <=10 ? 100:200): 500);

  printf(“%d”, k);

  }

  2. What will the following C code do?

  int *ptr;

  ptr =(int *)Ox67a9;

  *ptr = Oxaa55;

  3. What will be the output of the follow C code?

  #define product(x) (x*x)

  main()

  {

  int i = 3, j, k;

  j = product(i++);

  k = product(++i);

  printf(“%d %d”,j,k);

  }

 

【编程人员笔试题】相关文章:

360笔试题目07-11

华为2017笔试题08-16

JAVA编程面试题及答案09-16

华为2017笔试试题08-10

桂林银行笔试题笔经07-20

一个C/C++编程面试题12-20

数控机床编程与操作考试题及答案09-30

数控机床编程与操作试题库及答案09-30

探索结对编程08-20

QMS2007笔试审核知识模拟试题11-02