Ad
  • Default User Avatar

    You are perfectly correct, this is not standard and very bad practice. It would not compile on MSVC. I did not know about void * arithmetic at the time I solved this kata, I wish there was a way to warn users about it, like passing -Wpointer-arith to the compiler. You can program for months on GCC/clang and not realise this (and other things) are not standard.
    Compiler extensions are evil sometimes :(

  • Custom User Avatar

    Fixed