软件类相关笔试真题(4)

招聘笔试题2018-11-22李一老师

  21. Interrupts are an important part of embedded systems. Consequently, many compiler vendors offer an extension to standard C to support interrupts. Typically, the keyword is __interrupt. The following routine (ISR). Point out problems in the code.

  __interrupt double compute_area (double radius)

  {

  double area = PI * radius * radius;

  printf(“\nArea = %f”, area);

  return area;

  }

  阅读了本文“软件类相关笔试真题”,本站中国人才网(cnrencai)笔试频道,还为你提供更多“笔试题目”相关文章阅读

相关推荐

猜你喜欢

大家正在看

换一换