您当前所在位置:
88好学网范文常识招聘应聘笔试软通动力C语言笔试题» 正文

软通动力C语言笔试题

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

概要:return false;}head=head->next;}return true;}8str中只含有大写和小写字母函数change_move(char*str)将字符串中大写改成*并移到前面小写后返回*的个数如AabBdcYY改为*abd,返回5int chang_move(char*str){int len,i,curstr=-1;len=strlen(str);for(i=len-1;i>=0;i--){if(str[i]>='A'&&str[i]<='Z'){str[i]='*';if(cursor==-1){cursor=i;}else if(cursor>i){_____________;str[i]='*';_____________;}}return____________;}9求两个字符串的第一个公共子串,并返回该子串如:"a b c d e f g e h i" "a a c d e f * * g e h i"

软通动力C语言笔试题,标签:笔试大全,http://www.88haoxue.com

  return false;

  }

  head=head->next;

  }

  return true;

  }

  8

  str中只含有大写和小写字母函数change_move(char*str)将字符串中大写改成*并

  移到前面小写后返回*的个数

  如AabBdcYY改为*****abd,返回5

  int chang_move(char*str)

  {

  int len,i,curstr=-1;

  len=strlen(str);

  for(i=len-1;i>=0;i--)

  {

  if(str[i]>='A'&&str[i]<='Z')

  {

  str[i]='*';

  if(cursor==-1)

  {

  cursor=i;

  }

  else if(cursor>i)

  {

  _____________;

  str[i]='*';

  _____________;

  }

  }

  return____________;

  }

  9

  求两个字符串的第一个公共子串,并返回该子串

  如:"a b c d e f g e h i" "a a c d e f * * g e h i"

  第一个为"c d e f";不许用strcmp()

  char*Maxf(char*str1,char*str2)

  {

  }

上一页  [1] [2] [3] [4] 


Tag:笔试笔试大全招聘应聘 - 笔试
》《软通动力C语言笔试题》相关文章