德尔福软件类笔试题和面试题答案(2)

招聘笔试题2018-11-22三水老师

  The first should set bit 5 of a. The second shnuld clear bit 5 of a. In both cases, the remaining bits should be unmodified.

  7. What does the following function return?

  char foo(void)

  {

  unsigned int a = 6;

  iht b = -20;

  char c;

  (a+b > 6) ? (c=1): (c=0);

  return c;

  }

  8. What values are printed when the following C program is executed?

  int i = 8;

  void main(void)

相关推荐

猜你喜欢

大家正在看

换一换