Hello,

What's wrong with:

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