Hello,
What's wrong with:
I get an infinite loop at the while statement.Code:int getLength(char* A){ int i = 0; while (*(A+i) != '/0') i++; return i;
Hello,
What's wrong with:
I get an infinite loop at the while statement.Code:int getLength(char* A){ int i = 0; while (*(A+i) != '/0') i++; return i;