Ad
  • Default User Avatar

    if you write your for loop like this
    for (i = 0; s[i]; i++)
    it's the same result but without making a length variable and giving it the strings' length