Argument Order Tester

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> using namespace std; typedef int m;//just for fun m y = 0; int argOrderTest(int); int main() { printf("%d,%d,%d",y,argOrderTest(0),argOrderTest(1));//0,1,-1, OR -1,1,1 //Is it ambiguous like in C or is there a standard? return 0; } int argOrderTest(int x){ if(x==0) y = 1; else y = -1; return y; }
Editor Settings
Theme
Key bindings
Full width
Lines