2 questions
The method of using both is similar, and the size of the return is the same, but why is there a separate one?I can't tell the difference between the two.
#include <stdio.h>#include <stdlib.h>char *Mystrrev(char *string) { int nLength = 0; char *Mystr = NULL; for(int i = 0; string[i] != '\0'; i++) nLength++; Mystr = (char*)calloc(nLength + 1...
© 2024 OneMinuteCode. All rights reserved.