Ad
  • Custom 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

  • Custom User Avatar

    C language translation added

  • Custom User Avatar

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