int compareVersion(char * version1, char * version2){ int i, j, start1, start2, num1, num2, len1 = strlen(version1), len2 = strlen(version2); for (i = 0, j = 0; i<len1 || j<len2;) { start1 = i; start2 = j; while (i < len1 && version1[i] != '.') i++; if (i<len1) version1[i] = '