Skip to content

Instantly share code, notes, and snippets.

@mattbenic
Created December 31, 2010 14:13
Show Gist options
  • Select an option

  • Save mattbenic/761041 to your computer and use it in GitHub Desktop.

Select an option

Save mattbenic/761041 to your computer and use it in GitHub Desktop.
Evaluation order pseudocode
function evalTest(val1, val2, val3)
{
print("val1: "+val1+", val2: "+val2+", val3: "+val3);
}
int val = 0;
int arr = { ++val, ++val, ++val };
print("arr: ["+arr[0]+", "+arr[1]+", "+arr[2]+"]");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment