char* strchr (char* string, int c)
{
 char *s;
 
 for (s = string; s && *s; s++)
  if (*s == c)
  {
   return (s);
  }
  
  return ((char *) NULL);
}
 

相关文章:

  • 2021-08-03
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
相关资源
相似解决方案