string end with '#'

void reversePrint()
{
    char c;
    scanf("%c", &c);
    if(c != '#') reversePrint();
    if(c != '#') printf("%c", c);
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2022-12-23
猜你喜欢
  • 2021-06-15
  • 2022-03-09
  • 2021-09-03
  • 2022-12-23
  • 2021-07-25
相关资源
相似解决方案