应用开发工程师简答笔试题

时间:2020-07-20 14:15:10 笔试题目 我要投稿

应用开发工程师简答笔试题

简答题

应用开发工程师简答笔试题

  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 ″ );

  } 输出结果: _______

  19:Write a function escape(s,t) that converts characters like newline and tab into visible escape sequences like and as it copies the string t to s . Use a switch . Write a function for the other direction as well, converting escape sequences into the real characters.

  

【应用开发工程师简答笔试题】相关文章:

应用系统开发工程师笔试题目04-16

Java开发工程师上机笔试题04-17

软件开发工程师笔试题04-01

C语言开发工程师选择试题12-25

java开发工程师模拟试题201708-20

软件开发工程师JAVA笔试题10-15

阿里2015开发工程师笔试题目08-21

Java软件开发工程师笔试题宝典10-15

润信Java开发工程师面试题11-20

优捷Java开发工程师笔试题目11-20