plz explain me this C function to reverse a string

后端 未结 0 1944
庸人自扰
庸人自扰 2020-11-30 19:06

how is it working and What do the 2 *s signify in line 1 ?

char* reverse(char *str)
{
    static int i = 0;
    static char rev[100];
    if(*str)
    {
              


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题