• bool@lemm.ee
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    I’m going crazy, but if this compiles at all I bet it generates the same machine code when compiled with each line reversed.

    • nihilomaster@lemmy.ml
      link
      fedilink
      arrow-up
      12
      ·
      1 year ago

      When compiled with a C Compiler and run it will print “C”. When reversed, compiled and run it will print “Minecraft Function”. This code also runs in the Minecraft Function language. It will print “Minecraft Function”. Similarly, if reversed and run, it will print “C”.