您当前所在位置:
88好学网范文常识招聘应聘笔试应用开发工程师笔试题目» 正文

应用开发工程师笔试题目

[10-20 23:53:58]   来源:http://www.88haoxue.com  笔试   阅读:680

概要:以下是由www.88haoxue.com为各位介绍的笔试题目简答题16:类的静态成员和非静态成员有何区别?17:Consider the following code:#include#includeint main(int argc, char *argv[]) {int i = 1;char buf[4];strcpy(buf, "AAAA");printf("%d ", i);return 0;}a) When compiled and executed on x86, why does this program usually not output what the programmer intended?b) Name several ways in which the security problem that causes this program not to output what the programmer intended can be prevented WITHOUT changing the co

应用开发工程师笔试题目,标签:笔试大全,http://www.88haoxue.com

以下是由www.88haoxue.com为各位介绍的笔试题目

简答题

  16:类的静态成员和非静态成员有何区别?

  17:Consider the following code:

  #include

  #include

  int main(int argc, char *argv[]) {

  int i = 1;

  char buf[4];

  strcpy(buf, "AAAA");

  printf("%d ", i);

  return 0;

  }

  a) When compiled and executed on x86, why does this program usually not output what the programmer intended?

  b) Name several ways in which the security problem that causes this program not to output what the programmer intended can be prevented WITHOUT changing the code.

  18:#include

  void main()

  { int a[5] ={2,4,6,9,12},b[6] ={2,3,4,6,8,9};

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

  for(int j=0;j<6;j++)

  if(*(a+i)==*(b+j) printf( ″ %d ″ ,*(a+i));

  printf( ″ n ″ );

  } 输出结果: _______


Tag:笔试笔试大全招聘应聘 - 笔试
》《应用开发工程师笔试题目》相关文章