CodePudding user response:
Understand, apologize to embraceCodePudding user response:
int s (char * s)
{
Char * p=s;//the string passed to the first address pointer p
While (* p) p++;//pointer of cyclic walk to the end of the string '\ 0'
Return (p -s);//calculate the length of the string and returns the
}
int I=s (a);
Printf (" % d ", I);//output string length
CodePudding user response:
This figure is also really,,,