面试-先到面试网(mian4.com)查询面试公司相关信息招聘会面试网QQ交流群:141667671  登录 快速注册 帮助

搜公司

搜职位

加入分享工资待遇

免费分享12.0000家公司的待遇、评论、面试及工作环境信息!

面试网笔试意法半导体笔试c语言开发笔试
意法半导体c语言开发笔试试题及答案:
a test for the c programming language

  i. history

  1. c was originally designed for and implemented on the (what) operating system on the dec pdp-11, by (who) .

  2. the most recently approved ansi/iso c standard was issued in (when), and single line comments notation “//” is or isn’t a feature of c89.

  ii. syntax and semantics 1.in a runtime c program, auto variables are stored in , staticvariables are stored in , and function parameters are stored in .

  a. stack b. heap c. neither stack nor heap

  2. the statement “extern int x;” is a , and the keyword extern is used during .

  a. variable declaration b. variable definition c. compilation time d. runtime

  3. there is a complicated declaration: void ( * signal (int, void(*)(int)) ) (int);if a statement “typedef void (*p) (int);” is given,please rewrite this complicated declaration.

  4. the following code is a segment of c program.

  ..........

  void func(int *p)

  {...........}

  ..........

  main()

  {

  int num=0;

  .........

  func(&num);

  ........

  }

  ..........

  here, the function argument “&num” is passed .

  a. by value b. by reference

  iii. practice

  create a tree, which has h (h>0) layers, and its each node has w(w>0) sub-nodes.please complete the following incomplete solution.

  #include

  #include

  struct tree{

  char info;

  p_sub; //link to sub-nodes};

  // allocate memory and initiate

  void dnode ( struct tree* tmp )

  {

  = malloc( sizeof (struct tree) );

  = 0x41;

  = null;

  }

  struct tree *dtree (struct tree* subtree, int height, int width)

  {

  int i;

  if ( !subtree ) //if necessary, allocte memory for subtree

  denode(subtree);

  if ( height 1 )

  return subtree;

  else if ( height 2 ) {

  struct tree *leaf = null;

  for ( i=0; i

  denode ( );

  ;

  leaf = null;}

  return subtree;}

  else {

  for ( i=0; i

  }

  return subtree;

  }

  }

  main()

  {

  .........

  struct tree *root = null

以下是网友对意法半导体c语言开发笔试试题及答案的回答:

报歉,目前还没有相关答案。我来抢答案?
  • 当前共有0条记录,每页0条,当前0/0
  • 上一页
  • 下一页
中南财经政法大学成教 武汉大学成教 武汉理工大学成教 武汉科技大学成教 华中农业大学成教 湖北工业大学成教 湖北中医药大学成教 武汉成人高考网 孝感成人高考网 荆州成人高考网 咸宁成人高考网 宜昌成人高考网 襄阳成人高考网 十堰成人高考网 武汉自考网 黄冈自考网 宜昌自考网 襄阳自考网 十堰自考网 湖北成人高考报名网 湖北自考报名网 湖北大学成教 湖北工业大学成教 湖北中医药大学成教 华中农业大学成教 武汉大学成教网 武汉科技大学成教 武汉理工大学成教 中南财经政法大学成教 上海成考网 上海自考网 中南财经政法大学自考 中南财经政法大学自考 华中师范大学自考招生网 武汉大学自考招生网 武汉大学自考专升本 武汉理工大学自考 湖北大学自考 华中农业大学自考 湖北中医药大学自考 湖北工业大学自考 华中师范大学自考招生网 湖北中医药大学成教 湖北中医药大学成教 武汉理工大学成教 武汉科技大学成教 武汉大学成教 湖北工业大学成教 湖北大学成教 华中农业大学成教 中南财经政法大学成教 华中师范大学成教 湖北中医药大学自考 武汉理工大学自考 武汉大学自考 湖北工业大学自考 湖北大学自考 华中农业大学自考 中南财经政法大学自考 华中师范大学自考
快捷答题卡

昵称:

答案:

(按Ctrl+Enter可快速提交)