You need to sign in or sign up before continuing.×
Ad
  • Default User Avatar

    The input is instantiated as const, but the input parameter is not, so if you derefernce the pointer and increment it within the function (which the compiler will allow because of scoping), you segfault because it's modifying immutable stack data
    I'm not sure how to edit kata's to submit bugfixes

  • Default User Avatar

    C language translation added

  • Default User Avatar

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