Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    can someone explain me this solution?

  • Custom User Avatar

    At least for C.
    It should be specified if the string passed is modifiable or not.
    Solutions in C that change the original string in place will not work when called with makeUpperCase("HELLO") (as opposed to makeUpperCase(strdup("HELLO")))