Anomalies of Code
By: Gamma Cpt Zerhash
When I proposed this section I intended it to be somewhat of a New York Times puzzle section.
The focus here will be on code. Post your answers here or CMs to Zerhash.
I have my own version of the answer however my opinion isn’t the only opinion. The following issue we will post the answer, as well as other good responses we have.
So the game is simple. I provide a simple piece of code. I will specify a context to which it is to be interpreted. From here, you post your answers as to what the output of the code will be. You can use any language you choose. However provide source code for validity. No language sees eye to eye with any other so therefor use your own judgement to most accurately implement my intent.
This issue’s will be simple.
Given
c = 0;
c = c++;
print c;
Context: K&R style
I am interested to see how this turns out. Please provide as much explanation as you can for why and how you came to your answer.